{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 生成组合特征"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 得到不含user_name特征的PR（输入：f_count:第几个特征（为了输出命名），feature_user：拥有该特征的用户列表；find_user：用该特征所得到的block中的用户列表）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import csv\n",
    "import numpy\n",
    "def get_no_name_PR(f_count,feature_user,find_user):\n",
    "    \n",
    "    dataset = pd.read_csv(open('/data/csv/label_eventsV1.csv','r',encoding = 'gb18030'))#读取总标签数据\n",
    "    data = dataset[dataset['user_name'].isin(find_user)][['user_name','label']]#预测出坏用户的真实标签分布\n",
    "    data = data.drop_duplicates()#去重\n",
    "    #print(data)\n",
    "\n",
    "    \n",
    "    #raw_result=pd.read_csv(data_path+str(f_count)+\".txt\",sep=',',names=user_index)#读取全部的原始数据，并给上names\n",
    "    #raw_names = raw_result['user_name'].drop_duplicates()#原始数据中用户的用户列表\n",
    "    #print(raw_names)\n",
    "    raw_data = dataset[dataset['user_name'].isin(feature_user)][['user_name','label']]#原始数据中坏用户的真实标签分布\n",
    "    raw_data = raw_data.drop_duplicates()#去重\n",
    "    #print(raw_data)\n",
    "    \n",
    "    \n",
    "    TP=data.label.sum()\n",
    "    #if(TP==0):\n",
    "        #return 0\n",
    "    P=raw_data.label.sum()\n",
    "    FP=data.label.count()-data.label.sum()\n",
    "    N=raw_data.label.count()-raw_data.label.sum()\n",
    "    Precision = (TP/P)/(TP/P+FP/N) #精确率计算\n",
    "\n",
    "    #data_label_1 = dataset[dataset['label']==1][['user_name','label']] #原数据中label为1的坏用户\n",
    "    #data_label_1 = data_label_1.drop_duplicates()#去重\n",
    "    Recall = data.label.sum()/raw_data.label.sum() # 召回率计算\n",
    "\n",
    "    feature_label = dataset[['user_name','label']]\n",
    "    feature_label = feature_label.drop_duplicates()#去重\n",
    "    feature_label.loc[:,'label']=np.nan\n",
    "    #feature_label.rename(columns={'label':'feature'+str(f_count)+\"block_\"+str(choice)+'_label'})\n",
    "    #feature_label=pd.DataFrame(feature_label,index=range(len(feature_label)),columns=['feature'+str(f_count)+\"/block_\"+str(choice)])\n",
    "    feature_label.loc[feature_label['user_name'].isin(feature_user),'label']=0\n",
    "    feature_label.loc[feature_label['user_name'].isin(find_user),'label']=1\n",
    "    feature_label.rename(columns={'label':str(f_count)},inplace=True)\n",
    "    \n",
    "    return TP,FP,Precision,feature_label\n",
    "    print(\"TP\",TP,\"P\",P,\"FP\",FP,\"N\",N)\n",
    "    print('测试特征'+f_count)\n",
    "    print('\\t\\t精确率 Precision\\t= '+str(Precision))\n",
    "    print('\\t\\t召回率 Recall   \\t= '+str(Recall))\n",
    "\n",
    "  "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 得到有user_name的特征的PR(输入：f_count：第几个特征（为了读取特征文件），j:无用，choice:第几个block)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import csv\n",
    "import numpy\n",
    "def get_feature_label(f_count,j,choice):#f_count：the index of feature;j: index of test; choice: index of block\n",
    "    \n",
    "    #准备用于读取数据的 pandas头（防止第一行数据成为标签）\n",
    "    data_path=\"/data/jupyter_root/dcube_data/raw_have_name/feature\"#feature文件位置\n",
    "    try:\n",
    "        cols = pd.read_csv(data_path+str(f_count)+\"/block_1.tuples\",nrows=1).columns#先读第一行，用于提取数据维度\n",
    "    except:\n",
    "        print(\"false1\")\n",
    "        return 0,0,0        \n",
    "\n",
    "    user_index=['user_name']#初始化一个等待补全的names\n",
    "    #print(cols.shape[0]-1)\n",
    "    for i in range(1,cols.shape[0]-1):\n",
    "            user_index.append(str(i))\n",
    "    user_index.append('count')#补上最后的count\n",
    "    \n",
    "    #开始读取数据\n",
    "    #result=pd.read_csv(data_path+str(f_count)+\"/test\"+str(j)+\"/block_1.tuples\",sep=',',names=user_index)#读取全部的数据，并给上names\n",
    "    #try:\n",
    "    if(choice=='all'):#读取blocks.txt\n",
    "        result=pd.read_csv(data_path+str(f_count)+\"/blocks.txt\",sep=',',names=user_index)\n",
    "    elif(choice==1 or choice==2 or choice==3 or choice==4 or choice==5 ):#读取block_choice.tuples\n",
    "        result=pd.read_csv(data_path+str(f_count)+\"/block_\"+str(choice)+\".tuples\",sep=',',names=user_index)\n",
    "    elif(choice==12 or choice==13 or choice==23 or choice ==123 ):#读取blockchoice.txt\n",
    "        result=pd.read_csv(data_path+str(f_count)+\"/block\"+str(choice)+\".txt\",sep=',',names=user_index)\n",
    "    #except:\n",
    "    #    print(\"false2\")\n",
    "    #    return 0\n",
    "    names = result['user_name'].drop_duplicates()#预测出坏用户的用户列表\n",
    "    #print(names)\n",
    "    \n",
    "    dataset = pd.read_csv(open('/data/csv/label_eventsV1.csv','r',encoding = 'gb18030'))#读取总标签数据\n",
    "    data = dataset[dataset['user_name'].isin(names)][['user_name','label']]#预测出坏用户的真实标签分布\n",
    "    data = data.drop_duplicates()#去重\n",
    "    #print(data)\n",
    "\n",
    "    \n",
    "    raw_result=pd.read_csv(data_path+str(f_count)+\".txt\",sep=',',names=user_index)#读取全部的原始数据，并给上names\n",
    "    raw_names = raw_result['user_name'].drop_duplicates()#原始数据中用户的用户列表\n",
    "    #print(raw_names)\n",
    "    raw_data = dataset[dataset['user_name'].isin(raw_names)][['user_name','label']]#原始数据中用户的真实标签分布\n",
    "    raw_data = raw_data.drop_duplicates()#去重\n",
    "    #print(raw_data)\n",
    "    \n",
    "    \n",
    "    TP=data.label.sum()\n",
    "    P=raw_data.label.sum()\n",
    "    FP=data.label.count()-data.label.sum()\n",
    "    N=raw_data.label.count()-raw_data.label.sum()\n",
    "    Precision = (TP/P)/(TP/P+FP/N) #精确率计算\n",
    "\n",
    "    feature_label = dataset[['user_name','label']]\n",
    "    feature_label = feature_label.drop_duplicates()#去重\n",
    "    feature_label.loc[:,'label']=np.nan\n",
    "    #feature_label.rename(columns={'label':'feature'+str(f_count)+\"block_\"+str(choice)+'_label'})\n",
    "    #feature_label=pd.DataFrame(feature_label,index=range(len(feature_label)),columns=['feature'+str(f_count)+\"/block_\"+str(choice)])\n",
    "    feature_label.loc[feature_label['user_name'].isin(raw_names),'label']=0\n",
    "    feature_label.loc[feature_label['user_name'].isin(names),'label']=1\n",
    "    feature_label.rename(columns={'label':'have_name_feature'+str(f_count)+\"block_\"+str(choice)+'_label'},inplace=True)\n",
    "    \n",
    "    \n",
    "    #data_label_1 = dataset[dataset['label']==1][['user_name','label']] #原数据中label为1的坏用户\n",
    "    #data_label_1 = data_label_1.drop_duplicates()#去重\n",
    "    Recall = data.label.sum()/raw_data.label.sum() # 召回率计算\n",
    "    #print(\"TP\",TP,\"P\",P,\"FP\",FP,\"N\",N)\n",
    "    #print('测试特征'+str(f_count)+\"_\"+str(j)+str(choice))\n",
    "    #print('\\t\\t精确率 Precision\\t= '+str(Precision))\n",
    "    #print('\\t\\t召回率 Recall   \\t= '+str(Recall))\n",
    "    return TP,FP,Precision,feature_label"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 读取所选择的特征并组合在一个datafarme中 "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/opt/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py:3058: DtypeWarning: Columns (4,11) have mixed types. Specify dtype option on import or set low_memory=False.\n",
      "  interactivity=interactivity, compiler=compiler, result=result)\n",
      "/opt/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py:3249: DtypeWarning: Columns (4,11) have mixed types. Specify dtype option on import or set low_memory=False.\n",
      "  if (await self.run_code(code, result,  async_=asy)):\n",
      "/opt/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:26: RuntimeWarning: invalid value encountered in double_scalars\n",
      "/opt/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:53: RuntimeWarning: invalid value encountered in double_scalars\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>user_name</th>\n",
       "      <th>label</th>\n",
       "      <th>no_name_feature0block_2_label</th>\n",
       "      <th>no_name_feature1block_2_label</th>\n",
       "      <th>no_name_feature1block_3_label</th>\n",
       "      <th>no_name_feature1block_4_label</th>\n",
       "      <th>no_name_feature1block_5_label</th>\n",
       "      <th>no_name_feature2block_1_label</th>\n",
       "      <th>no_name_feature3block_1_label</th>\n",
       "      <th>no_name_feature3block_2_label</th>\n",
       "      <th>...</th>\n",
       "      <th>have_name_feature10count</th>\n",
       "      <th>have_name_feature11count</th>\n",
       "      <th>have_name_feature12count</th>\n",
       "      <th>have_name_feature13count</th>\n",
       "      <th>have_name_feature14count</th>\n",
       "      <th>have_name_feature15count</th>\n",
       "      <th>have_name_feature16count</th>\n",
       "      <th>have_name_feature17count</th>\n",
       "      <th>have_name_feature18count</th>\n",
       "      <th>have_name_feature19count</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>114386</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1522376</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>74965</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>12.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>551978</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>300417</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>1561348</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>194233</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>1619824</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>69893</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>481152</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>322619</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>1120751</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>1203549</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>351995</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>1310676</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>1512891</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>1650098</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>17.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>13.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>348159</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1302614</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>21.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>9.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1555719</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>155983</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>381123</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>412075</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>127711</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>18.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>6.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>1153738</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>429707</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>1530029</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>171156</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>327928</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>357238</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9472</th>\n",
       "      <td>1475115</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9473</th>\n",
       "      <td>1485476</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9474</th>\n",
       "      <td>1399957</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9475</th>\n",
       "      <td>1354607</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9476</th>\n",
       "      <td>1457702</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9477</th>\n",
       "      <td>1402334</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9478</th>\n",
       "      <td>1411579</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9479</th>\n",
       "      <td>1448865</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9480</th>\n",
       "      <td>1379058</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9481</th>\n",
       "      <td>1394503</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9482</th>\n",
       "      <td>1405205</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9483</th>\n",
       "      <td>1490683</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9484</th>\n",
       "      <td>1468405</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9485</th>\n",
       "      <td>1375197</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9486</th>\n",
       "      <td>1376080</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9487</th>\n",
       "      <td>1469836</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9488</th>\n",
       "      <td>1438256</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9489</th>\n",
       "      <td>1364726</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9490</th>\n",
       "      <td>1393336</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9491</th>\n",
       "      <td>1421094</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9492</th>\n",
       "      <td>1409320</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9493</th>\n",
       "      <td>1432916</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9494</th>\n",
       "      <td>1463984</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9495</th>\n",
       "      <td>1444505</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9496</th>\n",
       "      <td>1390309</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9497</th>\n",
       "      <td>1408464</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9498</th>\n",
       "      <td>1464741</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9499</th>\n",
       "      <td>1473176</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9500</th>\n",
       "      <td>1436938</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9501</th>\n",
       "      <td>1400989</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>9502 rows × 72 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      user_name  label  no_name_feature0block_2_label  \\\n",
       "0        114386      0                            0.0   \n",
       "1       1522376      0                            0.0   \n",
       "2         74965      0                            0.0   \n",
       "3        551978      0                            0.0   \n",
       "4        300417      0                            0.0   \n",
       "...         ...    ...                            ...   \n",
       "9497    1408464      0                            NaN   \n",
       "9498    1464741      0                            NaN   \n",
       "9499    1473176      0                            NaN   \n",
       "9500    1436938      0                            NaN   \n",
       "9501    1400989      0                            NaN   \n",
       "\n",
       "      no_name_feature1block_2_label  no_name_feature1block_3_label  \\\n",
       "0                               0.0                            0.0   \n",
       "1                               0.0                            0.0   \n",
       "2                               0.0                            0.0   \n",
       "3                               0.0                            0.0   \n",
       "4                               0.0                            0.0   \n",
       "...                             ...                            ...   \n",
       "9497                            NaN                            NaN   \n",
       "9498                            NaN                            NaN   \n",
       "9499                            NaN                            NaN   \n",
       "9500                            NaN                            NaN   \n",
       "9501                            NaN                            NaN   \n",
       "\n",
       "      no_name_feature1block_4_label  no_name_feature1block_5_label  \\\n",
       "0                               0.0                            0.0   \n",
       "1                               0.0                            0.0   \n",
       "2                               0.0                            1.0   \n",
       "3                               1.0                            0.0   \n",
       "4                               0.0                            0.0   \n",
       "...                             ...                            ...   \n",
       "9497                            NaN                            NaN   \n",
       "9498                            NaN                            NaN   \n",
       "9499                            NaN                            NaN   \n",
       "9500                            NaN                            NaN   \n",
       "9501                            NaN                            NaN   \n",
       "\n",
       "      no_name_feature2block_1_label  no_name_feature3block_1_label  \\\n",
       "0                               1.0                            0.0   \n",
       "1                               0.0                            0.0   \n",
       "2                               0.0                            0.0   \n",
       "3                               0.0                            0.0   \n",
       "4                               0.0                            0.0   \n",
       "...                             ...                            ...   \n",
       "9497                            NaN                            NaN   \n",
       "9498                            NaN                            NaN   \n",
       "9499                            NaN                            NaN   \n",
       "9500                            NaN                            NaN   \n",
       "9501                            NaN                            NaN   \n",
       "\n",
       "      no_name_feature3block_2_label  ...  have_name_feature10count  \\\n",
       "0                               0.0  ...                       1.0   \n",
       "1                               0.0  ...                       1.0   \n",
       "2                               0.0  ...                       1.0   \n",
       "3                               0.0  ...                       1.0   \n",
       "4                               0.0  ...                       1.0   \n",
       "...                             ...  ...                       ...   \n",
       "9497                            NaN  ...                       NaN   \n",
       "9498                            NaN  ...                       NaN   \n",
       "9499                            NaN  ...                       NaN   \n",
       "9500                            NaN  ...                       NaN   \n",
       "9501                            NaN  ...                       NaN   \n",
       "\n",
       "      have_name_feature11count  have_name_feature12count  \\\n",
       "0                          1.0                       1.0   \n",
       "1                          1.0                       3.0   \n",
       "2                          1.0                       4.0   \n",
       "3                          1.0                       4.0   \n",
       "4                          1.0                       1.0   \n",
       "...                        ...                       ...   \n",
       "9497                       NaN                       NaN   \n",
       "9498                       NaN                       NaN   \n",
       "9499                       NaN                       NaN   \n",
       "9500                       NaN                       NaN   \n",
       "9501                       NaN                       NaN   \n",
       "\n",
       "      have_name_feature13count  have_name_feature14count  \\\n",
       "0                          1.0                       1.0   \n",
       "1                          3.0                       3.0   \n",
       "2                          5.0                       7.0   \n",
       "3                          4.0                       4.0   \n",
       "4                          1.0                       1.0   \n",
       "...                        ...                       ...   \n",
       "9497                       NaN                       NaN   \n",
       "9498                       NaN                       NaN   \n",
       "9499                       NaN                       NaN   \n",
       "9500                       NaN                       NaN   \n",
       "9501                       NaN                       NaN   \n",
       "\n",
       "      have_name_feature15count  have_name_feature16count  \\\n",
       "0                          1.0                       1.0   \n",
       "1                          4.0                       2.0   \n",
       "2                          7.0                       1.0   \n",
       "3                          4.0                       3.0   \n",
       "4                          1.0                       1.0   \n",
       "...                        ...                       ...   \n",
       "9497                       NaN                       NaN   \n",
       "9498                       NaN                       NaN   \n",
       "9499                       NaN                       NaN   \n",
       "9500                       NaN                       NaN   \n",
       "9501                       NaN                       NaN   \n",
       "\n",
       "      have_name_feature17count  have_name_feature18count  \\\n",
       "0                          0.0                       0.0   \n",
       "1                          1.0                       1.0   \n",
       "2                         12.0                       5.0   \n",
       "3                          2.0                       2.0   \n",
       "4                          0.0                       0.0   \n",
       "...                        ...                       ...   \n",
       "9497                       NaN                       NaN   \n",
       "9498                       NaN                       NaN   \n",
       "9499                       NaN                       NaN   \n",
       "9500                       NaN                       NaN   \n",
       "9501                       NaN                       NaN   \n",
       "\n",
       "      have_name_feature19count  \n",
       "0                          0.0  \n",
       "1                          1.0  \n",
       "2                         10.0  \n",
       "3                          2.0  \n",
       "4                          0.0  \n",
       "...                        ...  \n",
       "9497                       NaN  \n",
       "9498                       NaN  \n",
       "9499                       NaN  \n",
       "9500                       NaN  \n",
       "9501                       NaN  \n",
       "\n",
       "[9502 rows x 72 columns]"
      ]
     },
     "execution_count": 50,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pandas as pd\n",
    "import csv\n",
    "import numpy\n",
    "import re\n",
    "\n",
    "def get_set(s):\n",
    "    s=re.sub('[ {}]','',s).split(',')\n",
    "    def func(x):\n",
    "        return int(float(x))\n",
    "    return set(map(func,s))\n",
    "\n",
    "dataset = pd.read_csv(open('/data/csv/label_eventsV1.csv','r',encoding = 'gb18030'))#读取总标签数据\n",
    "user_and_label = dataset[['user_name','label']]#预测出坏用户的真实标签分布\n",
    "user_and_label = user_and_label .drop_duplicates()#去重\n",
    "\n",
    "#读取no_name特征\n",
    "result_list=pd.read_csv(\"/data/jupyter_root/dcube_data/raw_no_name/result_list.csv\")\n",
    "for i in range(12):\n",
    "    al=get_set(result_list.iloc[i,0])\n",
    "    #try:\n",
    "    TP,FP,Precision,feature_label=get_no_name_PR('no_name_feature'+str(i)+'block_1_label',al,get_set(result_list.iloc[i,1]))\n",
    "    if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "            user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    #except :\n",
    "        #continue\n",
    "    try:\n",
    "        TP,FP,Precision,feature_label=get_no_name_PR('no_name_feature'+str(i)+'block_2_label',al,get_set(result_list.iloc[i,2]))\n",
    "        if(TP>5 and  (Precision>0.53)) or (FP>5 and  (Precision<0.47)) :\n",
    "            user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    except :\n",
    "        continue\n",
    "    try:\n",
    "        TP,FP,Precision,feature_label=get_no_name_PR('no_name_feature'+str(i)+'block_3_label',al,get_set(result_list.iloc[i,3]))\n",
    "        if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "            user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    except :\n",
    "        continue\n",
    "    try:\n",
    "        TP,FP,Precision,feature_label=get_no_name_PR('no_name_feature'+str(i)+'block_4_label',al,get_set(result_list.iloc[i,4]))\n",
    "        if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "            user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    except :\n",
    "        continue\n",
    "    try:\n",
    "        TP,FP,Precision,feature_label=get_no_name_PR('no_name_feature'+str(i)+'block_5_label',al,get_set(result_list.iloc[i,5]))\n",
    "        if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "            user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    except :\n",
    "        continue\n",
    "\n",
    "# #读取no_name_add特征\n",
    "# result_list=pd.read_csv(\"/data/jupyter_root/dcube_data/no_name_add/result_list.csv\")\n",
    "# for i in [40,64,56,140,149,127]:\n",
    "#     al=get_set(result_list.iloc[i,0])\n",
    "#     #try:\n",
    "#     TP,FP,Precision,feature_label=get_no_name_PR(\"feature_\"+str(i)+'block_1',al,get_set(result_list.iloc[i,1]))\n",
    "#     if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "#             user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "#     #except :\n",
    "#         #continue\n",
    "#     try:\n",
    "#         TP,FP,Precision,feature_label=get_no_name_PR(\"feature_\"+str(i)+'block_2',al,get_set(result_list.iloc[i,2]))\n",
    "#         if(TP>5 and  (Precision>0.53)) or (FP>5 and  (Precision<0.47)) :\n",
    "#             user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "#     except :\n",
    "#         continue\n",
    "#     try:\n",
    "#         TP,FP,Precision,feature_label=get_no_name_PR(\"feature_\"+str(i)+'block_3',al,get_set(result_list.iloc[i,3]))\n",
    "#         if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "#             user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "#     except :\n",
    "#         continue\n",
    "\n",
    "# #读取no_name_add的额外特征  \n",
    "# result_list=pd.read_csv(\"/data/jupyter_root/dcube_data/no_name_add/result_list2_811.csv\")\n",
    "# for i in [3]:\n",
    "#     al=get_set(result_list.iloc[i,0])\n",
    "#     #try:\n",
    "#     TP,FP,Precision,feature_label=get_no_name_PR(\"feature_\"+str(i)+'block_1',al,get_set(result_list.iloc[i,1]))\n",
    "#     if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "#             user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "#     #except :\n",
    "#         #continue\n",
    "#     try:\n",
    "#         TP,FP,Precision,feature_label=get_no_name_PR(\"feature_\"+str(i)+'block_2',al,get_set(result_list.iloc[i,2]))\n",
    "#         if(TP>5 and  (Precision>0.53)) or (FP>5 and  (Precision<0.47)) :\n",
    "#             user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "#     except :\n",
    "#         continue\n",
    "#     try:\n",
    "#         TP,FP,Precision,feature_label=get_no_name_PR(\"feature_\"+str(i)+'block_3',al,get_set(result_list.iloc[i,3]))\n",
    "#         if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "#             user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "#     except :\n",
    "#         continue\n",
    "\n",
    "#读取含user_name的特征\n",
    "for i in range(1,10):\n",
    "    j=1\n",
    "    try:\n",
    "        TP,FP,Precision,feature_label=get_feature_label(i,j,1)\n",
    "        if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "            user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    except :\n",
    "        continue\n",
    "    try:\n",
    "        TP,FP,Precision,feature_label=get_feature_label(i,j,2)\n",
    "        if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "            user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    except :\n",
    "        continue\n",
    "    try:\n",
    "        TP,FP,Precision,feature_label=get_feature_label(i,j,3)\n",
    "        if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "            user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    except :\n",
    "           continue\n",
    "    try:\n",
    "        TP,FP,Precision,feature_label=get_feature_label(i,j,4)\n",
    "        if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "            user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    except :\n",
    "           continue\n",
    "    try:\n",
    "        TP,FP,Precision,feature_label=get_feature_label(i,j,5)\n",
    "        if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "            user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    except :\n",
    "           continue\n",
    "\n",
    "#读取含user_name的cout>1的特征\n",
    "# for i in [97,101]:\n",
    "#  j=1\n",
    "#  try:\n",
    "#      TP,FP,Precision,feature_label=get_feature_label_2(i,j,1)\n",
    "#      if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "#          user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "#  except :\n",
    "#      continue\n",
    "#  try:\n",
    "#      TP,FP,Precision,feature_label=get_feature_label_2(i,j,2)\n",
    "#      if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "#          user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "#  except :\n",
    "#      continue\n",
    "#  try:\n",
    "#      TP,FP,Precision,feature_label=get_feature_label_2(i,j,3)\n",
    "#      if(TP>5 and  (Precision>0.53))or (FP>5 and  (Precision<0.47)) :\n",
    "#          user_and_label=user_and_label.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "#  except :\n",
    "#      continue\n",
    "\n",
    "#读取含user_name的一维度的add的特征\n",
    "for i in range(10,20):\n",
    "    cols = pd.read_csv('/data/jupyter_root/dcube_data/raw_have_name/feature'+str(i)+'.txt',nrows=1).columns\n",
    "    user_index=['user_name']#初始化一个等待补全的names\n",
    "    #print(cols.shape[0]-1)\n",
    "    #for i in range(1,cols.shape[0]-1):\n",
    "            #user_index.append(str(i))\n",
    "    user_index.append('have_name_feature'+str(i)+'count')#补上最后的count\n",
    "    oneadd=pd.read_csv('/data/jupyter_root/dcube_data/raw_have_name/feature'+str(i)+'.txt',sep=',',names=user_index)\n",
    "    user_and_label=user_and_label.merge(oneadd,left_on='user_name',right_on='user_name',how='left')\n",
    "\n",
    "user_and_label.to_csv('/data/jupyter_root/LSK/raw_feature_block_label.csv',index=None,header=True)\n",
    "user_and_label"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Index(['user_name', 'label', 'no_name_feature0block_2_label',\n",
       "       'no_name_feature1block_2_label', 'no_name_feature1block_3_label',\n",
       "       'no_name_feature1block_4_label', 'no_name_feature1block_5_label',\n",
       "       'no_name_feature2block_1_label', 'no_name_feature3block_1_label',\n",
       "       'no_name_feature3block_2_label', 'no_name_feature3block_3_label',\n",
       "       'no_name_feature3block_4_label', 'no_name_feature3block_5_label',\n",
       "       'no_name_feature4block_1_label', 'no_name_feature4block_2_label',\n",
       "       'no_name_feature4block_5_label', 'no_name_feature5block_1_label',\n",
       "       'no_name_feature5block_2_label', 'no_name_feature5block_3_label',\n",
       "       'no_name_feature5block_4_label', 'no_name_feature6block_1_label',\n",
       "       'no_name_feature6block_2_label', 'no_name_feature6block_3_label',\n",
       "       'no_name_feature7block_1_label', 'no_name_feature7block_2_label',\n",
       "       'no_name_feature7block_3_label', 'no_name_feature7block_5_label',\n",
       "       'no_name_feature8block_1_label', 'no_name_feature8block_2_label',\n",
       "       'no_name_feature8block_3_label', 'no_name_feature8block_4_label',\n",
       "       'no_name_feature8block_5_label', 'no_name_feature9block_2_label',\n",
       "       'no_name_feature9block_3_label', 'no_name_feature9block_4_label',\n",
       "       'no_name_feature10block_1_label', 'no_name_feature10block_2_label',\n",
       "       'no_name_feature10block_4_label', 'have_name_feature1block_1_label',\n",
       "       'have_name_feature1block_2_label', 'have_name_feature1block_3_label',\n",
       "       'have_name_feature1block_5_label', 'have_name_feature2block_1_label',\n",
       "       'have_name_feature2block_3_label', 'have_name_feature2block_4_label',\n",
       "       'have_name_feature2block_5_label', 'have_name_feature4block_1_label',\n",
       "       'have_name_feature4block_2_label', 'have_name_feature4block_4_label',\n",
       "       'have_name_feature5block_1_label', 'have_name_feature5block_2_label',\n",
       "       'have_name_feature5block_3_label', 'have_name_feature5block_4_label',\n",
       "       'have_name_feature6block_2_label', 'have_name_feature6block_3_label',\n",
       "       'have_name_feature6block_5_label', 'have_name_feature7block_2_label',\n",
       "       'have_name_feature7block_4_label', 'have_name_feature8block_2_label',\n",
       "       'have_name_feature8block_3_label', 'have_name_feature8block_5_label',\n",
       "       'have_name_feature9block_5_label', 'have_name_feature10count',\n",
       "       'have_name_feature11count', 'have_name_feature12count',\n",
       "       'have_name_feature13count', 'have_name_feature14count',\n",
       "       'have_name_feature15count', 'have_name_feature16count',\n",
       "       'have_name_feature17count', 'have_name_feature18count',\n",
       "       'have_name_feature19count'],\n",
       "      dtype='object')"
      ]
     },
     "execution_count": 51,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "user_and_label.columns"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 去除空行"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>user_name</th>\n",
       "      <th>label</th>\n",
       "      <th>no_name_feature0block_2_label</th>\n",
       "      <th>no_name_feature1block_2_label</th>\n",
       "      <th>no_name_feature1block_3_label</th>\n",
       "      <th>no_name_feature1block_4_label</th>\n",
       "      <th>no_name_feature1block_5_label</th>\n",
       "      <th>no_name_feature2block_1_label</th>\n",
       "      <th>no_name_feature3block_1_label</th>\n",
       "      <th>no_name_feature3block_2_label</th>\n",
       "      <th>...</th>\n",
       "      <th>have_name_feature10count</th>\n",
       "      <th>have_name_feature11count</th>\n",
       "      <th>have_name_feature12count</th>\n",
       "      <th>have_name_feature13count</th>\n",
       "      <th>have_name_feature14count</th>\n",
       "      <th>have_name_feature15count</th>\n",
       "      <th>have_name_feature16count</th>\n",
       "      <th>have_name_feature17count</th>\n",
       "      <th>have_name_feature18count</th>\n",
       "      <th>have_name_feature19count</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>114386</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1522376</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>74965</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>12.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>551978</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>300417</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>1561348</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>194233</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>1619824</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>69893</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>481152</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>322619</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>1120751</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>1203549</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>351995</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>1310676</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>1512891</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>1650098</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>17.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>13.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>348159</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1302614</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>21.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>9.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1555719</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>155983</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>381123</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>412075</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>127711</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>18.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>6.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>1153738</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>429707</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>1530029</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>171156</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>327928</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>357238</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9379</th>\n",
       "      <td>1526810</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9380</th>\n",
       "      <td>1544865</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9381</th>\n",
       "      <td>1595411</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9382</th>\n",
       "      <td>1610167</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9383</th>\n",
       "      <td>35353</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9384</th>\n",
       "      <td>142080</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9385</th>\n",
       "      <td>156142</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9386</th>\n",
       "      <td>159381</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9387</th>\n",
       "      <td>175657</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9388</th>\n",
       "      <td>567444</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9389</th>\n",
       "      <td>1078128</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9390</th>\n",
       "      <td>1328225</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9391</th>\n",
       "      <td>1421482</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9392</th>\n",
       "      <td>1563800</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9393</th>\n",
       "      <td>1654158</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9394</th>\n",
       "      <td>135718</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9395</th>\n",
       "      <td>221385</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9396</th>\n",
       "      <td>231845</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9397</th>\n",
       "      <td>528006</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9398</th>\n",
       "      <td>1495729</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9399</th>\n",
       "      <td>1543871</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9400</th>\n",
       "      <td>86587</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9401</th>\n",
       "      <td>228935</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9402</th>\n",
       "      <td>414231</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9403</th>\n",
       "      <td>1161979</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9404</th>\n",
       "      <td>1272819</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9405</th>\n",
       "      <td>1324821</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9406</th>\n",
       "      <td>1327624</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9407</th>\n",
       "      <td>1351088</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9408</th>\n",
       "      <td>1458986</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>9409 rows × 72 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      user_name  label  no_name_feature0block_2_label  \\\n",
       "0        114386      0                            0.0   \n",
       "1       1522376      0                            0.0   \n",
       "2         74965      0                            0.0   \n",
       "3        551978      0                            0.0   \n",
       "4        300417      0                            0.0   \n",
       "...         ...    ...                            ...   \n",
       "9404    1272819      0                            0.0   \n",
       "9405    1324821      0                            0.0   \n",
       "9406    1327624      0                            0.0   \n",
       "9407    1351088      0                            0.0   \n",
       "9408    1458986      0                            0.0   \n",
       "\n",
       "      no_name_feature1block_2_label  no_name_feature1block_3_label  \\\n",
       "0                               0.0                            0.0   \n",
       "1                               0.0                            0.0   \n",
       "2                               0.0                            0.0   \n",
       "3                               0.0                            0.0   \n",
       "4                               0.0                            0.0   \n",
       "...                             ...                            ...   \n",
       "9404                            0.0                            0.0   \n",
       "9405                            0.0                            0.0   \n",
       "9406                            0.0                            0.0   \n",
       "9407                            0.0                            0.0   \n",
       "9408                            0.0                            0.0   \n",
       "\n",
       "      no_name_feature1block_4_label  no_name_feature1block_5_label  \\\n",
       "0                               0.0                            0.0   \n",
       "1                               0.0                            0.0   \n",
       "2                               0.0                            1.0   \n",
       "3                               1.0                            0.0   \n",
       "4                               0.0                            0.0   \n",
       "...                             ...                            ...   \n",
       "9404                            0.0                            1.0   \n",
       "9405                            0.0                            0.0   \n",
       "9406                            0.0                            0.0   \n",
       "9407                            0.0                            0.0   \n",
       "9408                            0.0                            0.0   \n",
       "\n",
       "      no_name_feature2block_1_label  no_name_feature3block_1_label  \\\n",
       "0                               1.0                            0.0   \n",
       "1                               0.0                            0.0   \n",
       "2                               0.0                            0.0   \n",
       "3                               0.0                            0.0   \n",
       "4                               0.0                            0.0   \n",
       "...                             ...                            ...   \n",
       "9404                            0.0                            0.0   \n",
       "9405                            0.0                            0.0   \n",
       "9406                            0.0                            0.0   \n",
       "9407                            0.0                            0.0   \n",
       "9408                            0.0                            0.0   \n",
       "\n",
       "      no_name_feature3block_2_label  ...  have_name_feature10count  \\\n",
       "0                               0.0  ...                       1.0   \n",
       "1                               0.0  ...                       1.0   \n",
       "2                               0.0  ...                       1.0   \n",
       "3                               0.0  ...                       1.0   \n",
       "4                               0.0  ...                       1.0   \n",
       "...                             ...  ...                       ...   \n",
       "9404                            0.0  ...                       1.0   \n",
       "9405                            0.0  ...                       2.0   \n",
       "9406                            0.0  ...                       1.0   \n",
       "9407                            0.0  ...                       1.0   \n",
       "9408                            0.0  ...                       1.0   \n",
       "\n",
       "      have_name_feature11count  have_name_feature12count  \\\n",
       "0                          1.0                       1.0   \n",
       "1                          1.0                       3.0   \n",
       "2                          1.0                       4.0   \n",
       "3                          1.0                       4.0   \n",
       "4                          1.0                       1.0   \n",
       "...                        ...                       ...   \n",
       "9404                       1.0                       1.0   \n",
       "9405                       1.0                       2.0   \n",
       "9406                       1.0                       1.0   \n",
       "9407                       1.0                       1.0   \n",
       "9408                       1.0                       1.0   \n",
       "\n",
       "      have_name_feature13count  have_name_feature14count  \\\n",
       "0                          1.0                       1.0   \n",
       "1                          3.0                       3.0   \n",
       "2                          5.0                       7.0   \n",
       "3                          4.0                       4.0   \n",
       "4                          1.0                       1.0   \n",
       "...                        ...                       ...   \n",
       "9404                       1.0                       1.0   \n",
       "9405                       2.0                       2.0   \n",
       "9406                       1.0                       1.0   \n",
       "9407                       1.0                       1.0   \n",
       "9408                       1.0                       1.0   \n",
       "\n",
       "      have_name_feature15count  have_name_feature16count  \\\n",
       "0                          1.0                       1.0   \n",
       "1                          4.0                       2.0   \n",
       "2                          7.0                       1.0   \n",
       "3                          4.0                       3.0   \n",
       "4                          1.0                       1.0   \n",
       "...                        ...                       ...   \n",
       "9404                       1.0                       1.0   \n",
       "9405                       2.0                       1.0   \n",
       "9406                       1.0                       0.0   \n",
       "9407                       1.0                       1.0   \n",
       "9408                       1.0                       1.0   \n",
       "\n",
       "      have_name_feature17count  have_name_feature18count  \\\n",
       "0                          0.0                       0.0   \n",
       "1                          1.0                       1.0   \n",
       "2                         12.0                       5.0   \n",
       "3                          2.0                       2.0   \n",
       "4                          0.0                       0.0   \n",
       "...                        ...                       ...   \n",
       "9404                       0.0                       0.0   \n",
       "9405                       0.0                       0.0   \n",
       "9406                       0.0                       0.0   \n",
       "9407                       0.0                       0.0   \n",
       "9408                       0.0                       0.0   \n",
       "\n",
       "      have_name_feature19count  \n",
       "0                          0.0  \n",
       "1                          1.0  \n",
       "2                         10.0  \n",
       "3                          2.0  \n",
       "4                          0.0  \n",
       "...                        ...  \n",
       "9404                       0.0  \n",
       "9405                       0.0  \n",
       "9406                       0.0  \n",
       "9407                       0.0  \n",
       "9408                       0.0  \n",
       "\n",
       "[9409 rows x 72 columns]"
      ]
     },
     "execution_count": 52,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pandas as pd\n",
    "user_and_label=user_and_label.drop(range(9409,9502))\n",
    "user_and_label.to_csv('/data/jupyter_root/LSK/raw_feature_block_label.csv',index=None,header=True)\n",
    "user_and_label"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 生成十则交叉验证的测试集和训练集 "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "start\n",
      "1\n",
      "train_indices: [2223 7572 8499 ... 4859 3264 2732]\n",
      "x_train_names:\n",
      " [ 405006  534821  547287 ... 1329806 1156279 1097647]\n",
      "test_indices: [6449 9394 4069 5477 9378 8122 5314 3597 8229 6455 1167 4053 8695 6602\n",
      " 4134 8877 1559 6689  273 1218 1237 2241 7376 3925 8762 4230 6150 5527\n",
      " 5982  247 4500 8379 1235 2818 7843 7783 2217 6531 2060 5253 8521 1172\n",
      " 2214 7648 6208 5567 1761 8351 8350 1984 8682 5168 2076 7201 3790 5922\n",
      " 1132 4726 6153 5381 3964 4221 3614 4320 4271 7580 4905 2384 1399 6028\n",
      " 4527 8507 7737 7494   33 2967 5436 3101 6746 1654  779 5810 7700 5038\n",
      " 4763 8508 8346  454 2847 1379 1675 9088 6999 5992 5164 1166   39 2343\n",
      " 8627  938 4764 2529 1928 8410 7637 2839 3829 7328 4937  771 6377 1085\n",
      "   31 8504 3921  390 8966 4499 8320 7117   36 8258  776 1373 4071 1812\n",
      " 8692 5407 3631 6719 7257 4734 2119 8786 1453 5591  296 1946 6299 3645\n",
      " 9051 3473 1231 5548 4388 3382 1065 5706  154 3197 8851 2250 8753 6353\n",
      " 7684 3585 8503 5861 4858 1931 5121 7347 2379 8254 4627 2183 3782 6068\n",
      " 1710  532 2861 2662 5890 6825 1294 6244 4750 5227 7187 1536 6998 3433\n",
      " 5018 8542 3861 2849 8002 5933 2398 7317 6759 1893 3403 7397 5022 5852\n",
      " 3879 4902  587 5052 9319 7014  841 4126 7931 2036 9139 5697 6178 4999\n",
      "  133 8327 6701 1421 8716 1523 9045 6600 1116 8557  888 3747 1261 5473\n",
      " 3535 6814 3756 1388 3977 8023 9169 1098 9322 2569 2059 5961 3807 2560\n",
      "  799 7590 4109 8656 9194 2075 5466 2097 6755 5755 3616 8218 6747 4792\n",
      " 8231 4399 3768 7880  242 3376 6658 7946 6086 5107 2193 2587 6192 1594\n",
      " 8008 2754 8607 7042 2797 8552 8383 7390  519 1788 7230 2805 7462 6577\n",
      " 8511 2932  580 5128  760 3993 8905 4585 9358 8493 5064 5640 5110 3572\n",
      " 7044 5420 3648 3847 3515 3432  628 4549 3986 8943 5344 2890  635 6249\n",
      " 8354 8478 1051 8785 2134 9087 4084 7099 4255 4372 4732   15 7280 2939\n",
      " 1833 7240  487 2755 8124  558 8438 1283 1644  325 4891 2149 9215 7212\n",
      " 5255 7941 3618  839  852 8113 5931 8400  134 3445 1921 5438 4339 9241\n",
      " 4214 1297 4953 7780 7509 7464 6890 7274 7950  683 8940 8413  521 2162\n",
      " 3705 4297  196 3223 8436 6000  831 5476 4157   18 6621 3073 2351 4117\n",
      " 8259 9237 2167 3628 3519 7399 1456 7017 5032  578 3000 1571 2404 2767\n",
      " 4774 8415 3039 4623 5796  119   32 9059 9196 2081  342   23 3884 1480\n",
      " 3453 8491 5804 8204 5613 7849 1845 5354 7808 3514 1785 3188 4813 4050\n",
      " 9161 1238 6587 4967 6336  144 9209  369 4225 6487 6961 5292 2513 8810\n",
      " 2846 6840 6945 9391 1220  495 4543 8201 5702 4588 5399 2423 3641 3650\n",
      " 8065 2516 7624 2153 3439 7582 3974 5036 9217 3844 3051 4749 5067 3888\n",
      " 4981 5350 6386 3726  121 4041 9345 6878 3932 1270 2178  272  528 6372\n",
      " 3315 5490 1796 1741 8497  253 7077 7559 8871 7602 5867 8512 4162 7065\n",
      " 6058 4831 5257 6008 5773  693 7785 7713 8846 8757 1869 7987 4406 4897\n",
      " 8322 5765 7264 2712 5559 6380  597 6045 8633  692 6315 4787 7050 5964\n",
      " 6042 3728 5905 5386 9281 2550 5091 5606  843 3698 8140 4341 4546 4634\n",
      " 7149 6705 4428 5286  598 8970 7231 7361 5336 4423 1842 4247 2350 4688\n",
      " 2090 5546 1334 9023 1519 6268 2029 2263 5921 7342 6678 3774 7698 5923\n",
      " 8957 1427 2703 5770  834 8838 5614 6067 5372 2337 1638 2929 7054  221\n",
      " 7237 2363 8202 4128 3184 3873 7622 8516 1837 7351  574 2630 6447 7981\n",
      " 2606 1986 5457 1768 2043 2709 1997 7749 9325 8432 8665  396 9375 9297\n",
      " 4193 1912  508 3743 2154 5988 4018  982 2088 7642 2746 9263 4644 1789\n",
      " 4298 7634 6292 1977 7120 4659 3822 5946 6609 4941   38 3951 2535 3634\n",
      " 1359 2265 4160 6765 3420 4458 2017 1454 3069 2092 4074 8022 6904 3034\n",
      " 7919 1766 5975 7488 7630 5875 7436 7914 3234 1332 5206  422 2579 2902\n",
      " 2006 5068 4145 5341 3171 6278 1151 2528 5530 4492 9043  188 4425 2503\n",
      "  334 1994 1815 1194 6092 4030   50 3749 2140  406 8634 7234 3443 8314\n",
      " 2196 9173 2472 5317 9165 9011 3723 7542 8228 3730 6412 1651 2182 3754\n",
      " 1570 9401 8330 4540 5233 2829 3131 3803 7311 3716 7081 2661 4365 7133\n",
      " 1585 5656 3635 7953 3673 2980 6099 3992 3800 7746 3852 3667 1109 8185\n",
      " 5951 9148 9324  384 4747 8287 2509 4968 2247 6164 8306 8814 3032 8942\n",
      " 3140 4639 2049 3706 2860 2446  343 7715 5826 6049 4986 6802  397 5419\n",
      " 8987 4097 7502 6376 5665 3071  277 7276 5730 6888 3232 3689 2004 5582\n",
      " 6513 1461 8174 7243 5447  257 6317    9 5380 5065 8707  462 6796 5798\n",
      " 1797 5315 5073  233 5562 7716 2831 8163 3896 3379 6500  140  289 7062\n",
      " 6791 3987 8663 9390 6544 3858 5915 5114 4474 7514 1418 3046 3412 4337\n",
      " 4004 8675 7279 7136 6354 2774 8026 4463 7755 8740 8776 2141  974 6475\n",
      "  651 4237 7321  304 1156 9044 1240 5470 6982 1643 2113 7132 1656 6088\n",
      " 9030 1817 6849 1087 1751  176 9186 2395 7332 7754 2431 3472 6539 5220\n",
      " 4088 5450 7964 6868 9080 3013 7817  317 5738 2875 8968 6111 7309  224\n",
      " 5013 5422 4852 4955 7920 5415 8458 8669 7067 2412 2554 2397 2604 7696\n",
      " 5595 3208 1666 9117 6046   42 3950  541 6741 2652  489 1746 5460 4775\n",
      " 8203 1223 8941 2930 4359 8865 7405 7236  103 7834 1149 2515 9206 7070\n",
      " 2087 3980 7360 3305 3595 7182 4476 4429 6264 9291 6263  158 7823 5454\n",
      " 2664 3611 1804 6942 4655 2501 7235 9397 4448 8475 4141 5303 8441 7629\n",
      " 3327 2400 4521]\n",
      "x_test_names:\n",
      " [ 529281  135718   55635 1412382 1083136   72872 1175114 1085918  334526\n",
      " 1154098  362900   82967 1328343 1182239  348155  504781  475336 1583470\n",
      "  374087  320814  468895  395587  156567  190679  188412  306607  546826\n",
      "  161487  284700  441664 1156180 1307810  271007 1156953   81636  545536\n",
      "   38462 1614385  357553  390956 1121451 1616299 1327705 1328016  410424\n",
      " 1556498  320654 1567084 1427483  522376  136875  705821 1318909   97841\n",
      "   74455  215878 1524695 1613152 1670754 1494365   75126 1064253 1169292\n",
      " 1316910 1194838 1660625 1584260  395650  118980  666676 1315672  273142\n",
      " 1338423 1584680  527230 1166736 1653922 1275347 1313378  116658   73453\n",
      " 1507719  501371 1571030 1069591  416317 1138409  262454  467010  338601\n",
      " 1167977 1301108 1069734 1323939 1519548 1207259  361573 1305780 1601435\n",
      "  279141  280078  498643  280978 1428568  355317  219393 1521256 1303554\n",
      "  102749 1360283 1053281 1300191  282653 1639173 1658726 1417506 1358278\n",
      "  221560 1181236 1647082 1153529  548802 1506446 1645931  323005  386157\n",
      "  118726  495422 1560481  221251  546131  316780 1303951 1620635 1539172\n",
      " 1280817 1325747 1501644 1624221 1169241 1506282  453241 1547047  102321\n",
      " 1576576 1351208   43751 1313148  201952  343401 1592106 1613336 1331549\n",
      " 1323028 1584789 1494337 1606084  337628 1597465 1508344 1174720  400005\n",
      "  318305 1654918  159887 1518677 1333124 1666685 1515851 1296145 1653992\n",
      " 1322316 1624413 1247836   78273  101282  245421  358181 1613670 1312573\n",
      " 1657197   16784  544319  249886 1098051  325170 1316111 1507763 1646994\n",
      "  160251  118091  160728 1514522 1583230  221999  108618 1517882 1563316\n",
      "  181655 1632732 1454151 1089646  118305  394125 1141479  376346 1654910\n",
      "  314771  277654  117913 1579668  471597 1539301  159025 1617852 1299233\n",
      "  346509  584287  419518 1051574 1167883 1065780 1137967 1106134  279948\n",
      "  438155 1539370 1311644 1519159  479813  279445 1319635  367760  350821\n",
      "  535297 1549198 1639246 1594264 1522731  254523  502040 1556419   78728\n",
      " 1175003 1567797 1089732  337765  373257  544570  427372  138657 1603925\n",
      " 1507261  346719 1653736 1168238  431572 1650579  321183 1655738 1157722\n",
      "  110916  334870 1583530 1514557 1553179 1670905 1069847 1617737 1658884\n",
      "   70814  229231 1567034 1562908 1534460  283615 1550849 1328902  472739\n",
      "  376334 1242040  466401  138710  165637 1582795  236214 1329897 1651334\n",
      " 1097410 1596906  206288 1597199   32805 1611849  544308   85515  221175\n",
      "  523211  259822  488195  343711  527951  471218 1642827 1097965  123023\n",
      "  116488  113610  118092 1435431  191043 1467322  493263 1141369 1492890\n",
      "  118281  545204   74369 1058285 1512891 1615065  197942  431516 1300170\n",
      " 1551681  609739  250513  471182  266156  355570  261360  404715   76324\n",
      " 1581288 1326745 1656182 1317108 1053591 1062061 1612377 1139303 1556494\n",
      "  183651 1163597 1085012 1589945 1061352 1137354  397169 1350454 1495502\n",
      " 1084999  255899  364355 1538889  398468 1303413 1549934  217200 1140017\n",
      " 1093612 1566700   79559 1601523 1180401 1171361  159265 1671476   11361\n",
      " 1644682  430059   37079 1282725 1302614  336574  101400  435958 1497865\n",
      " 1097716  458700 1524748  365135 1568803  269397  387258  341366 1300220\n",
      " 1575950 1595114 1058469  544809  255767 1068146  179282  159426  490604\n",
      "  230664 1539578  361835  118034  272314 1286788 1343345  127711  318631\n",
      "  518975 1593934 1563771 1504074 1523512 1575684 1522129 1157891 1086688\n",
      " 1557074 1598335   69553  195525    9401  470279  544600  356813  497814\n",
      " 1645227   72954 1305294 1626450  104335  393538  386943  128937   95940\n",
      "   72914  320466 1595541  326469 1531810 1421482  314434   76526  184134\n",
      "  284384 1251305  460734 1601379 1497801 1053273  484808 1308865 1524929\n",
      " 1583285 1557198   69421  137835 1163872  103421 1361736  745476  215538\n",
      "  137343  336982 1593122 1220182  174129  215548   77062   92526 1603748\n",
      " 1309158 1063421 1655864  249544 1167633  178837 1330103   85073 1612748\n",
      " 1565750 1666672  341396  348295 1097570 1520148  229942 1517660 1502744\n",
      "  401771 1397160  221278  499697 1581909  526268  474020 1288895  334422\n",
      " 1514506 1179873 1071775  543380 1266837 1585076 1157410   24769 1096302\n",
      " 1517242  110965  320676  370248 1314420 1618479 1339910  755698  379403\n",
      " 1344945  520215 1513238 1089281  355552  542765   70990 1302564 1588261\n",
      "  214993 1582904  542324 1093385 1607622  191684 1382295  118180 1160501\n",
      " 1131859 1075332 1544149 1549240 1609763   27482 1670771  127321 1539595\n",
      "  540521  118817  163405 1086064 1529118  211362  197182 1053139 1317749\n",
      " 1423892  449732 1580008 1608454 1584988  395264 1169214 1070797 1541471\n",
      " 1150950  370365  292422  381320 1617146 1498673 1614771 1319137  463225\n",
      "  506120   72980 1520719 1286888   28891  465390  137831  250286  521755\n",
      "  402206  356865 1522441 1347057  548164 1575741  320334  413917 1620491\n",
      "  433163 1557323 1332103  210242  101706 1149427 1529231 1585074  290671\n",
      " 1627202  545706 1099072 1074930 1333586  323404  260668 1079405 1555620\n",
      "  365707  235356  280062 1140218  135336 1097332   75619 1549297 1323540\n",
      " 1628005 1332131  295139 1321197  185892 1420196 1580054 1158762  233217\n",
      "  535445 1142544  498545  357660  506524  211180  549183  115770  102917\n",
      "  118607  193035  107548  379821  130406  189612  448139 1323544 1052615\n",
      "  532061  277780  383237 1530412 1584958  302249 1585012  535409  151752\n",
      "  248133 1324433 1096034 1278542 1597117  469242  498491 1529129 1326640\n",
      "  383733 1654191 1653868  228135  272537 1515281 1304441  102956 1669464\n",
      "   67357  115769  161094 1323024  100483  338454 1299430  193346 1557325\n",
      " 1566926 1594900  238122 1203635  116828  326290 1647648  385320 1079190\n",
      " 1563407 1656675 1524789 1309548 1650811   80083 1592509  206737 1655031\n",
      "  320630  212250 1578247 1624635  433803 1531374 1541160  436680  228935\n",
      " 1612069 1567154  326085 1506433  215042 1557227 1635841 1562963  239913\n",
      " 1495266 1053870 1562989  363305 1138173  403136 1058330 1160457  211237\n",
      " 1663905   75573  285012  457130 1140871  159243 1508811 1345864 1508741\n",
      " 1525826  705232  139230 1632097 1163423  318527  106721  236790 1507673\n",
      "  496610  486316  431487 1601418 1551595  167745   75448 1631717  187770\n",
      "  495716 1173127 1238970 1610266   41084  323483  210303   82667  105847\n",
      " 1571395 1174574 1496629 1190032 1140853 1583730 1100072  434384  334550\n",
      " 1651908 1636529 1140461 1597498 1631131 1563072 1284665 1596862 1550289\n",
      "  195880 1556252  159863  481152   75438  153671  413979  178402  357655\n",
      " 1520508 1298679  279982  527348 1159347 1547453 1306243 1540056 1317907\n",
      "  164828 1529012 1661080  435400 1517850  523152 1313928 1656054 1179745\n",
      " 1328225   71753 1305730 1563699 1298243  320346  519733  544499 1333269\n",
      "  358261 1315799 1074337  408510  515976 1336429 1629144 1515254  548811\n",
      "  255976  154152 1342519 1155817 1517910   77067 1594339 1658789 1608743\n",
      " 1317021 1655557   71211  265238 1067288 1538253 1567421  260362 1656859\n",
      " 1068073 1304008  474393  384204   76133  480795 1321502 1079601 1058236\n",
      " 1608128 1640234 1505303 1620747  171842 1337644 1167147 1096192 1137646\n",
      " 1598275  305708  197798 1595768 1055943  326633  458017 1156564 1665876\n",
      " 1551708 1070575 1319398 1554385   72910 1517844  545471  545114  323277\n",
      "   65151  529346 1652998 1140499  173413 1497038 1274632  543605  442984\n",
      "  520174  322529  216584 1672599 1538302  518869  545475  528549  230578\n",
      " 1515798 1344050 1137658 1545029  543820 1315547  460774 1336386 1292022\n",
      " 1276379  244042 1313856 1540260 1109360 1507259  118948  547853 1069745\n",
      "  343374 1612404  519766 1633599  260468 1596533   73166  236561 1128283\n",
      " 1551729 1620465   81738 1552678 1400550  403173  446351  276572 1500350\n",
      "   73321 1328574   71145  207591  528006 1494560  314068  356924   72795\n",
      " 1332017  233500 1494623 1088764 1597593]\n",
      "2\n",
      "train_indices: [6332 2209 9395 ... 4299 2299 2731]\n",
      "x_train_names:\n",
      " [1550844 1596279  221385 ...  520892 1508361  118796]\n",
      "test_indices: [4366 6821 6470 3960 4239 8109 1543 5107 8265  809 5007 8375 8877 7083\n",
      " 6184 5572 6859  775  257  593 4781 7742 4816 1538 8350 1107 5580 3858\n",
      " 1491 6255  927 5206 8112 8057 5905 2571 8320 9343 9155 5967 2852 9087\n",
      "  933 1199 2122 2941 8487 4193 3324 8182 2952 7029 5828 7038 8468 4279\n",
      " 7786 7538 8202 1881 6699 7630 1979  588 6655  845 1957 3181 8204 7631\n",
      " 4431 4306 3956 6690 3623 7564 5952 8467 8616 3549 2663  357 9276 6771\n",
      " 4615 4069  772 9383  385  791 2907   80  651 1077 5823 3651 8786 7889\n",
      " 3169 1145 4013 2254 4318  120 6858 4446 1586  998 4325 2676 7685 7838\n",
      "  760 8574 8482 5002  436 6252 4253 5685 5321 7584 1553 8742 6999 7676\n",
      " 1754 9146 2092 3585 3361 4133 2629 6183 7992 6060 3668 9142 4599 3093\n",
      "  624 2791 3566 4045 4671 5989 8491 8880 3141 8528 1228  807 8293 8317\n",
      " 5232 5370 8158 6426 3621 2917 2271 4242 2266 7589 7703 4168  667 2121\n",
      " 6261 3203 3232 3822  461 5988 9196 1023 6356 1885 4491 7735 1182   75\n",
      " 3004 5187 4160 4016  709 4124 1492 7835 6057 1416 7529 2384 5529 3572\n",
      " 5949 6756   45 4552 3220 1418 2434 9220 2906 8442 4198 2042 3657 6708\n",
      "  498 7870 6409 5076 8020 8334 2398 5280 2512 4244 8389 1221  230 8989\n",
      "  221 4442 3543 4656 2317 8729 3850   97 4018 8404 1289 8581 1639 5623\n",
      " 7817 1143 7096 5773 9240 4022 9151 2574 5908 3652   74 2393 4831  295\n",
      " 1291 8572 4008 7022 4884 6740 3589 4673 2031 1618 2978  736 8628 6574\n",
      " 3936 2333 1845 2021 7846 8439 2743 2778  207 3022 8659  431 4061 1765\n",
      " 1398 8804   60 6828 8842 3864 1675 4462 7860  978 5751 1871 2074 8179\n",
      " 5132 8595 2269 8060 1273 2330 8629 1183 4211  693 5220 1967 5880  841\n",
      " 7892  932 3481 7902   72 4808 7906 8431 7834 4511 9257 6073 8632 5835\n",
      " 6715 4996 3147  930 9364 3979 1420 5631 7328 4475 7598 4862 3856 1028\n",
      " 6093 1870 4981 3539 8606 3474 7187 7738 1212 4367 8509 6871 5624  449\n",
      " 1446 7825 5101 6996 8745 5954 3527 2504  989 7987  957 5344 5446 2158\n",
      " 9203  540 5719 1583 2798 4786 5948 6217 9033 7750 7300 5335 3328 3302\n",
      " 3573 7450 5672 7123 6249 5833 8469  591 6974 5408  811 8081 4011 8305\n",
      " 7277 7792 7040 6305 6588 2537 6343 2481 8747 2672 2982 6082 9097 6272\n",
      " 7436 9081 8907 5810 3487 8668 4587 5588 7533 3783 1337  437 8888 5735\n",
      " 5615 9374 5253 7634 4129  768 1156 4663 3859 6043 4843 4313 7228 8543\n",
      " 4566 8780 8766 8947 7836 5312 4953 6143 1952 8830 3641  162 3139 8736\n",
      " 1150 2785 7493 1548 2750 5276 4316 6513 2718 7224 3339 3239 7534 3990\n",
      " 2625 1645  821 1438 1534 4771 1168 5997  470 8259 4861 1621 3045 5063\n",
      " 6456 4832 2972 2310 8545 2679 7180 7820 5682 5971 2931 6007  167 8990\n",
      " 7352 6852  631 6995 6783 7468 9041 2622 2447 4464 3033 5924 7312 1445\n",
      " 4063 2162 2685 7025 4392 2698 3731 8203 2956 3958 4524 1650 4506 3553\n",
      " 9162   68 8028 2976 2060 1830 1471 7006 9184 1995 7173  340 4974 2606\n",
      " 7568  697  706 7746 6040 4149 2925 4235 5724  397  127 3947 2968   16\n",
      " 8667 8733 2884 1637 3870 3000 8956  877 4308 8783  499 2244 5046 5117\n",
      " 7983 7086 4230 2474 1939 7475 4625 7957 4357 4988 2620 1805 9404 6096\n",
      "  565 2441 5753 2210 2277  536 3131 7211 7864 6178 5494 2065 5079 1257\n",
      "   12   62 1751 9303 4112 3152  696 8025 3844 4798 9164 5333 5535 5619\n",
      " 2585 5876 6335 6005 5308 5745 9331 1375 3579 8406 7544 5898 6190 8078\n",
      " 2325 8690  336 7458 1613 6744 5306 8639 5465 5185 1288  717 8465   18\n",
      " 7389 6189 3602 4222 1540 5339 6370 4405 1821 1011 4820 9135 6068 7256\n",
      " 8132 7693 1060 2040 5289 4989 8300 1392 3416 2461 3995 8249 3224 4888\n",
      "  557 2309 3047 6119 6498 7091 8588 4172 6156 2383 1547 1019 3690 2226\n",
      " 6087 7596 9312 6046 3061 2641 3240 1884 5265 1336 2291 8652  778 6976\n",
      " 4875 6188  160  346 9115 7752 3120 7043 4414 5696  435 5897  156 9347\n",
      " 3878 1018 9124 1938 6348 7152 8875 6450 3970  838  812 7553 3550 6384\n",
      "  607 2430 1197 8642 2927 9387 8727 6133 6944 2262 5671 7035 4806 1389\n",
      " 8594 3332 7102 8275 8446  763 4823 3078  875 3949 5190 9365 4874 3101\n",
      " 7296 7773  948 5955 4655 6703 1924 3746 8225 8140 5944 2422 6667 1940\n",
      " 6815 5088 6089 2400 4931 3546  589 1365 2482 9358  165 3282 1104 1058\n",
      "  416 1191 4672 4266 7759 8513  199 5295  739 3405 1541 6146 2192 3868\n",
      " 4161 4830 1918  813 1050 2455 5909 7271 4523   22 8074 5430  795 7391\n",
      " 3377 2471 4694 8166 5483 5036 3253 2466  183 9305 4236 9393 1171 9027\n",
      " 6455 7255 4384  232 1937 5093 8768 1581 5442 6350 1057 4986 7610 6218\n",
      " 1636  314 5640 4964 1829 1084  286 1893 1295 4007 4637  774 7413 5455\n",
      " 8680  888 1511 9069 7078  638 6379 8268 5608 8816 7214 5325 9407 7488\n",
      " 3073   69 4340 3238 9046 8850 3319 4435 7572 6259 9186  282 7337 8892\n",
      " 5270 7951 2195 5475 2594 6136 7377  252 6926 8686 4321 5165 6912 5864\n",
      "  150 7567 3068 8033 3610 2539 7307 4189 3935 3467 4840 4597 4643 8839\n",
      " 5161 1784 3359 4408 1194 8024 5593 1274 5863 4458 7509 5668 5412 4889\n",
      " 4422 5916 9255  494  663 4712  142  595 6418  292 6295 6679  179 6447\n",
      " 1262 2307 2901 5309 2181 4036 5077 1921 5411 1571 3229  861 7526 6274\n",
      " 2069 7023  748]\n",
      "x_test_names:\n",
      " [ 481254 1571761  346941  250238  389632 1317203  393300  110916 1644851\n",
      "  315006  180810   80413  504781  284628  250211 1594403  357048  492354\n",
      " 1556252  700015  162040 1656825  463625  286620 1427483  216088  334315\n",
      " 1305730 1638472  221394 1646571  498491 1539754 1058602 1302564 1524784\n",
      " 1181236  548691 1597305 1069782  544554 1141369   69797  217120  114128\n",
      " 1052598 1278566 1555620 1527099  544506  393420 1590032 1087794 1320679\n",
      "  439427 1070639 1294353 1143628  402206 1567368 1247587  248133  189434\n",
      " 1331975 1640020  272782  506547  544585 1523512  487362  549473  322986\n",
      " 1581916 1655400  389946 1331737 1568259  364910 1424838 1344741  441788\n",
      " 1646570 1578070  338585 1090306   55635  504500   35353  108581 1591964\n",
      " 1088115 1098092 1658789 1603343   28298  100734 1620635 1556267  120298\n",
      " 1553306  540670 1653860  499895 1582477  515169 1675511  271019  548317\n",
      " 1510981  107544 1594608  273720 1582795 1336171   76128  534958  276419\n",
      "  429955 1665863 1597399  222359  428482  320601 1433792 1069734  123122\n",
      "   75432 1315790  532061 1494337 1320740  243438  162177  362472 1120204\n",
      "   93358  529921 1152198 1303994   74250  284076 1504106 1324696 1169454\n",
      "  555245  320580 1563771 1462207 1531269  461004 1457746 1593087 1556847\n",
      "  553599 1180485  362228  194529  325232  431462 1647554  326245 1557279\n",
      "  470408   32907 1344922 1504167  390481 1090852  334792  318851 1636529\n",
      " 1142544 1643142  135336  272314  167763  543891 1647366  276768 1141066\n",
      "  373694 1284700  358225 1050810  107548   77307  235444  324873  473278\n",
      " 1589684  321144 1497836 1092296  395650 1594143 1611849 1188777  471180\n",
      "   25670  543919  431534  544499  210360 1677787  535892 1334357 1518535\n",
      "  498556  523397  173164 1602533 1310253  527768  523330  324099  535331\n",
      " 1646994   99781   82857 1178434 1337819 1327434  235541 1681615  137831\n",
      "  342762 1176531 1180162 1120580 1671221  286327  343043 1097332 1637919\n",
      "  410344  446714 1614201 1502358  326633  471701 1061741  334422 1147114\n",
      " 1154719 1093962 1648923  502467  211903  492289   83277  526268  196214\n",
      "  114148  678143 1529112 1611657  322956 1067380  549266 1631892  257523\n",
      "  280073  235569  279965 1649356  467471  197218  451343 1157891  169882\n",
      "  511421  439520  472766  341929  237061 1671524   92617 1615395 1316335\n",
      " 1593032  280291 1456197  291562 1052869 1582899 1281749 1167977 1575536\n",
      "  323721  543022 1538318  324002  542852  234102 1179820 1369507  480457\n",
      " 1292826   69965  194341 1670047 1275091   28585 1514506 1096192  137218\n",
      " 1053162  118305 1305400 1144250  119690  234468  115567  135299 1342300\n",
      "  424584 1507259  282171  148416 1538450  248495  217859 1316875 1569065\n",
      " 1536354 1624569  212005 1130498  362958 1068138 1303554 1087026  165241\n",
      " 1655354 1556433  108269 1673268   76760 1220182  502603 1333352  118411\n",
      " 1613670 1443153   86826  383635 1169137 1631822 1162983  454047  147827\n",
      " 1669980 1131378 1054069  101764  528542  314306 1582527  118695 1157410\n",
      "  215726 1097965 1320554 1141711  231533  462859  320833  527290 1627617\n",
      " 1263283  326527 1508412 1397670 1167398  475289  527856  352735  455563\n",
      "  547867 1632222  386258 1093321  113610  419673 1287514 1289424  232864\n",
      " 1613111 1169442  235516 1085418  482567  409731  321241  179889  542354\n",
      " 1092494  460373 1653833 1326124  368321  209397 1062035 1656008 1529874\n",
      " 1310533 1096034  285156 1347400 1507719 1181205 1649523 1631783 1175777\n",
      " 1578460 1507788 1582200  173078 1652109  217669  331734  238893  390956\n",
      " 1420196  545973  113507   71211  323271  197884 1376903 1157444 1556322\n",
      " 1168623  315105  309536 1632896  472714 1095143 1624285  320377  255899\n",
      "  317809 1659038 1639896 1053273 1595577 1597103  149539  250396 1338273\n",
      " 1318680   99385   87173 1054176 1433614 1563072  528195 1555149  464929\n",
      " 1308245  115254 1494595 1052654  528733  158072  124380  195467    8626\n",
      " 1069108 1614144 1144642 1097716  230655   73445  197004 1600996 1644447\n",
      "  138700 1061237 1095650 1081833 1671517 1203302 1107590  430926  165908\n",
      " 1597239 1647952  138400  405014  271222  145186  500190  366028 1664113\n",
      "  499929 1643182 1333719 1622238  239106 1180587  386091  287345   72873\n",
      "  502024 1601523  183934  326570 1556344 1319809 1634885 1315547  211763\n",
      " 1061718 1297034  322293  102407  343131 1096385  328769 1296369 1645983\n",
      "  357553 1301098  115560 1552758 1349061 1575992 1329921  498497 1303241\n",
      "  210242 1585790 1589105   48872  457130  271462 1303563 1522273 1524696\n",
      " 1320489   82667 1592193  435678 1598948 1650098 1442513 1589375  215981\n",
      " 1575716  442980 1595114  229826 1527110  476876  492425  432306   73200\n",
      " 1605042  294461 1537351 1058630  306607 1395725  499905 1622550 1144177\n",
      " 1299324  190008  222365 1644910  318722 1272819  517598  432806 1495189\n",
      "  518802  215996  458628  182886  215042 1593150 1328587  277654 1552072\n",
      "  544077 1610432  373805 1203549   65722 1079601  172892 1515047 1096269\n",
      " 1535639  529055  745476 1647458 1310734 1171188 1517897 1540389  107735\n",
      " 1595728  216050 1624458  535885  318539  127816  527634 1555397  197900\n",
      " 1141257 1325672  174520 1452183 1647091 1544863   68306  357221  103389\n",
      "  538822 1299308 1168418 1088533 1531459  337703  531149 1653801 1302614\n",
      "  411504 1556187 1658889 1508359 1308712 1563381 1134805  259810 1647916\n",
      " 1646012 1052643 1330917 1666685  103419   51306  260400  316161  321114\n",
      " 1613284 1180528   71106 1094183  346310  365465 1549260 1347286  511028\n",
      "  398344 1170718 1053611 1101679  542350 1592750 1159222   98213  318394\n",
      " 1300193 1606341 1508910 1328926 1348793 1054095  518799  144953  161501\n",
      " 1538302 1563218  218362   76162  547399 1589540 1181261  505583 1075949\n",
      "   82783  146617 1052577 1575341   83746  472657  527724 1554089  348692\n",
      "  503836  384158 1284782  219451  215808  417099 1339749 1216665  320006\n",
      "  547897 1337561  419786 1582115  254396  235636 1582020  430930  326641\n",
      " 1084405 1653928  468952  362781  118197  545008 1154913  305299  175657\n",
      " 1610835  517154 1654773 1640556 1434176  115686 1558517  210307 1352998\n",
      "  693347 1496310 1602438   38466 1321138   42382  694741  249541 1131901\n",
      "  173299  453561  393078 1275347 1527029  421247 1600680  280257 1328574\n",
      " 1058284  114102  320511 1540223 1382295  271202  493701  385801   33736\n",
      "  238954 1290205  197887 1088764  340981  460840  210249  540568 1174559\n",
      " 1097410  144089  318616 1212727 1542969 1495687 1347123  275356 1129081\n",
      " 1141107 1449834   15581 1292815  166047 1075875  317366  496495 1099078\n",
      "   74453 1312449  405544 1052270  195336  387438  363618  130664 1067151\n",
      "  548193  412075  536202  387587  156726  250323  284044 1594843 1659472\n",
      " 1552269  327915  103421   69877 1156063 1521757  446602 1450077 1654158\n",
      "  119027 1497768 1154098 1602451 1053547 1056746  262097  546345 1306466\n",
      "  308234 1338373 1409157 1341054  323483 1094923   28942 1345921  505461\n",
      " 1597199  338342  334846 1646692  118899  160728  284859 1088548 1556599\n",
      "  317514  173352 1299359 1534449 1167883 1068137  101742  524576  159873\n",
      " 1573265  461046  233805 1137564  209537  529044 1351088  151752  101400\n",
      "  655763  397593  149124 1068454 1479846 1578947  270622  534821 1312248\n",
      " 1608128 1593555 1068053  346273  482124  240818 1344827  398509 1554574\n",
      "  110526 1299266   20487 1659717  603118  434376  395645 1160159 1328885\n",
      "  552371 1579148 1550925 1624277 1303683  187546  256448  334996 1594699\n",
      "  178155   65598  195570   45770 1333699 1069506   86242   66517  125040\n",
      " 1566926  500416  316653  110444  523309  189612 1538889   72883 1620343\n",
      " 1523321 1549029  284075 1605518   92916  325215  194641   92803  335029\n",
      " 1179850 1563298  381647 1546036  362660 1557323 1174999  498685   23286\n",
      "  519517 1666301  149069  115468 1061352 1665832 1058469   32406  321423\n",
      "  228699  499913  328651  171747   92498]\n",
      "3\n",
      "train_indices: [8918 3869 5736 ... 5046  476 2208]\n",
      "x_train_names:\n",
      " [ 378467 1615663 1052898 ... 1605042 1608476  114177]\n",
      "test_indices: [ 230 1744 9250 6345 7744 4795 6836 4946 4099 3770 3760 4323 4673  815\n",
      " 4447 3608 7829 8497 5511 2120 1442 5954 9211 7462 4949 8401 5789 3652\n",
      "  705 3565  749 2414  172 6081  233  363 3641 8786 8696 4805 7901 3041\n",
      " 9271 8901 3039 3803 3110 7183 7754 7063 5409 3258 6802 2995 1094 1862\n",
      "  290 1907 9090  178 7471 2258 2410 9104 1257 3533 9350 7430 6398 6679\n",
      " 4940 5718 5103 1802 2066 9290 6576 7133 5058 4984 4190 5297 3133 2511\n",
      " 1721 8674 4828 9022  505 1106 1341 8642 3200 5689 1912 6074 5415 6687\n",
      " 5214 5679 6561 7377 6534 5212  544 1990 9300 6281 6212 6307 9277 6760\n",
      " 5723 2794 1699 3403 8571 5833 3703 7161 3922 2406 4592 6970 8054 7325\n",
      " 3410 2146 3358 3001 2154 2068 1755 5242 7713 1554 2532  970 8623 2140\n",
      " 6590 8140 7492 9392 4305 9175 4250 3686 7818 4777 7720 5142 1665 8702\n",
      " 2399 2789 2344 2508 6804 5047 3896 4663 1870 6587  759 4480 2937  845\n",
      "  574 8682 5323 9323 8586 4714 1971 3095 1354 1529 5343  974 1398 8065\n",
      " 6639 7202  255 7988 2430 1776 7261  427 4233 6953 6875 2723 5626    6\n",
      " 5073 5666 7021 8957 4144 2972 5675 3708 7478 7883 6410  667 4348 1754\n",
      " 9258  876 4450 5382 8288 5895 9406 3078 7258 7254 6896 8986 4648 1123\n",
      " 7661 8581 2005 9004  605  151 4198 7557 2655 4163 6188  421 4831 4127\n",
      " 4643 3462 2211 5076 1397 1807 2204 4749 2178 7457 6319 6367 3899 4521\n",
      " 6125 2385 4234 4676 1530 9281 4612 6252 7940 2342 4215 5484 5226 1948\n",
      " 7862 5932 5591 5148 1130 4180 6004 5466 7453 3164 3390 3506 5267 4995\n",
      " 4475 3546 6777 7768 7881 4680 3319 2197 6095 8747 4087 5710 2980 3594\n",
      " 6688   39 8104 7796 3099 6967 7248 4790  416 3851 2748 9322  368  271\n",
      "  535 3230 7038 6093 1193 3999 5946 5152  500 7900 7616  541 3620 8767\n",
      " 3249 1858 5987 5208 1499 8928 4961 4882 7059 2458 8535 5579 6233 1473\n",
      " 6628 6592 7170 5078 7949 5720  281 3339 6282  294 7704 6360 2028 5290\n",
      " 2513 5593 6266  412  208 4876 2834 7919 5434 1905 3906 5453 1622 4350\n",
      " 6448 8950 2704 7944 7939 6763 4538 9147 7880 4516 4772 2480 7752  736\n",
      " 4463 4470 7722 6562 9160 8721 5622 8380 6228 2376 8326 5949 3104 8847\n",
      " 9166 5277 1826 2871 6318 5223 1576 8496 2566 5636 6251  741 7265 7156\n",
      " 2181 1418 5053 5721 1561 6982 4895 5464 3500 6155 7334 6770 4765 8035\n",
      " 5937 4678  350 3946 7827  260 8613  789  728 7824  995 3653 4604 2459\n",
      " 2469 9332 1606 5922 4361 2591 6925 8627 1431  146 2812 3642 5146 1175\n",
      " 3773 1773 2964 5837 3155 7570 5055 2530 8328 2190 4982 1105  650 8330\n",
      " 6338 6339  446 6667 7977 3918 8526 6042 1975 7759 1973 3775 1213 9336\n",
      " 4942 7714 3165 2997 3392 7999 8107 1560 9238 1209 4513 1691 8817 9202\n",
      " 1464 9186 2343 9369 1834  330 9383 3646 4725 8263  780 3046 8148 4987\n",
      " 1063 1170 7311 7750 8996 4724 3715 1801 8534 5801 4989 2014 5968 8393\n",
      " 1522 5578 6758  376 8144 1638 6647 4034 8543 9239 2377 6596 5131 6517\n",
      " 8676 8630 3967 8191 9360 7887 5138 1633 2050 1240 5471 2680 3996 8345\n",
      " 7023 8558  875 1536 1995 1402 1909 5086 4704 3406 7296  735  657 5820\n",
      "  102 6184 8076 4222 2189 4017 2402 7259 2255  357 8643 2022 2388 4228\n",
      " 8029 3037 4119 4246 3654 7869  113 9237 4626 3964 4871  962 4701 6785\n",
      " 7674 5179 4120 2392  232 7040 1765 3251 1444  361 8909 5530 2749 2888\n",
      " 8048 8921 8560 1451 1385 3702 2772 6295 4841 2966 2788 8513 6933 4753\n",
      " 4257 3763 5190 7336 4824 9062 2125 2179 2036 7633 8871 3364 4134 5143\n",
      " 7708 6016 4073 5938 5406 2879 9040 6686 8837  713 5497 8868 6908 9255\n",
      " 1678 2737   78 8936 2677  252 8049 6346 7690 5645 4971 6559 1125 1739\n",
      " 4606 5559 1420 6745 6085 7936 3182 3177 5033  571 2062 4861 3085 1896\n",
      " 2464 5714 9342  941  540 2864 4449 3466 7341 5981 2212 6940 5767 3481\n",
      " 5556 7277 8293 6831 2382  715 3632 3735 4962 7162 7065 4764 1046  567\n",
      " 2967 3514 2755 2552 4312 4768 4172 5991 1539 3953 7926 6856 1019 1183\n",
      " 1791 6548 1457 4023 8254 6725 2921 3782 7439 8378 2701 1433 8755 8588\n",
      " 3638 3402 5834  169 5348 1781 7804  867 8079 2446 7743  384 9136 1271\n",
      " 3544  738 2081 9124 3598 1201 5779 5750 1244 8572 8325 5009 3209 3569\n",
      " 4859 2020 7282 6014 2119 1386 6609 5960 1899 9113 6422 8763 2132 5763\n",
      "  408 6466 1342 3969 7994 4090 2988  933 7378 5598 7501 8414 1091 4474\n",
      " 4668 6104 2445 8155 8801 3552 7923 4263 9100 3008 1797 8131 3447 4737\n",
      " 2328 9274 7058 3400 6901 6211 7691 2247 6743 6437 3395  445 9283 5041\n",
      " 5821 2356 9328 5959 5570  275  259 2991 6607 7294 4330 2742  581 8010\n",
      " 5060 4114 4879 8103  439 1371 1733 5098 8620 4510 4091 1366 3737 4750\n",
      " 5826 9289 1037 1169  711 8161 3135 8170 6818 1330 2863  245 5921  788\n",
      " 3597 1954 7247 1627  934 3423 5443 6985  131 6711 7386 2071 4272 2115\n",
      " 4951 5729 3755 1829 6390 1446  698 6216 7179 6217 5974 7105 4097 8123\n",
      "  497 2198 2720 8266 7348 1977 7052 1314 1288 7855 1944 9198 2496 8744\n",
      " 7681 7998 9051 4061 7081 8517 8282 7648 9029 4260 1836  463 5772 3055\n",
      " 1278  836 3521 9378 2405 9050 2108 3750 7326 7854 4271 1226 4657 5934\n",
      " 4231 4185 1272 3254 6063  872 1903 8100 2695 3193 4141 5157 6060 4406\n",
      " 7832 6262 1837]\n",
      "x_test_names:\n",
      " [ 235541 1645565 1646714 1505785 1669256  524691   92421 1646587  247226\n",
      "  335200 1296355 1143136 1631892 1549137 1323890  120424  448297  348295\n",
      "  286014  431488 1420963  528542  209701  472739  190354 1252581 1582640\n",
      "  211903  529314 1308057 1091654  495480 1612638  386153 1159347  423592\n",
      " 1053273 1620635 1486626 1567192  220858  334426 1649281  393096  159426\n",
      " 1557227  284653 1677361 1620747  421456 1505094 1592204  210303  547951\n",
      " 1594288  322824 1170087   81654 1631990 1643897 1579290  159471  116818\n",
      "  516070  373805 1143680 1535058  184142  318061 1546036 1374336  511953\n",
      " 1540356 1289290 1313452 1556834  358240 1562989 1120997 1312113  137970\n",
      " 1318283 1659065  357313  492916  392687  282558 1387409  508720 1676793\n",
      " 1519595 1154913  498705  293774  365707  383308   65151   77833 1068126\n",
      " 1592441   74337 1299266  324211 1097457 1161894  182895 1315459 1300207\n",
      "  318247   39707 1635602 1295916   28814 1566995  546714 1514522  528096\n",
      "  419673 1497129  160559 1097770 1160974 1331609  189411   81089 1583252\n",
      "  190451  157620 1336231  262254 1140218  161993 1541626  247261 1071775\n",
      " 1054130 1549974 1659748  411891  326290 1665653 1382295  273063 1563800\n",
      " 1335179 1496322   85827  318570  506632  419013 1505019  144889 1282375\n",
      " 1122568 1640385 1527210 1644416  325756  101443 1563052  164828  323271\n",
      "   76760  497814 1327870 1631900  640901  272782 1620491  136875 1582306\n",
      "  487501 1672609 1610104 1595347  317617 1567018  386256   49273   77067\n",
      "  280291 1308865 1552935 1193958 1321969 1518561  118197 1510754 1313541\n",
      "  542956 1642884  651097  374924 1091942  588317  194233  527348 1432843\n",
      "  359728  292422  366334 1061237 1513886 1315061  167522  146842  179437\n",
      "  390481  320813   75432  148704 1062082  291365  140210 1218543  184475\n",
      " 1327624  694741  363410 1538487  118400 1553790  410530  502063   28169\n",
      "  446714 1156846 1086616  325532 1513862 1518535  194752 1548306   93307\n",
      " 1575341 1521178  526268 1503806   45770  270926 1596058  523330 1567295\n",
      "  118973  270491  137343 1167633  279263 1525124 1647852  506573 1597593\n",
      " 1158021 1508819  233780  488352  250275  214993   70724  429955  732491\n",
      "  392945  284386  489464  544922 1318384  340773 1514518 1280817  345658\n",
      " 1546148 1549329 1174766 1567797   72858  435321 1567781  356938  362618\n",
      " 1646675 1087026  460840  318268 1592637 1184455   45415 1578947  142437\n",
      " 1514454  368321  159414 1097784  211237 1658859 1091672  361573  315037\n",
      " 1097091  138042 1092480 1516187  177921 1495687 1053985 1566146  367760\n",
      "  247625  282165  383476 1340536 1320679 1673268 1146929 1325968  498545\n",
      " 1517757  493633  116472 1645029  528549 1658843 1088437  446999 1097212\n",
      "  387919 1681773  502479  282626  210232  116774 1430792 1507769 1624546\n",
      " 1316344 1307156 1554285 1610407  419598 1589989   28947  101465  362825\n",
      " 1062149  464929 1086617 1585498 1583123  284110  544328 1624692   72914\n",
      "  316653 1303768 1656933  413954 1645804 1518416  302249  680695  697807\n",
      "  318470 1157798  528198 1632158 1613257 1251601 1675706 1549630  518303\n",
      " 1584851  199388 1327048 1168238  175704  498614  357618 1554089  279965\n",
      "  255976 1339292  352312  229585  543702  518820  471772 1315505 1630303\n",
      " 1180735  396422 1188777 1054316 1052902  125878  235218 1648926 1550091\n",
      "   65271 1656625   99289  344523  255242 1148686 1242136  475308 1539163\n",
      "  461921 1666301  544499  128296 1551613 1351053 1567421 1158436  461258\n",
      " 1188592 1614944 1157610  236024 1680861 1096260  495525  428862   41332\n",
      "  108199  325863  324364 1325269 1295292  334868 1654560  383774 1308140\n",
      "  388071  546372  316884  220774 1330311  215878  138617 1304487 1089248\n",
      " 1601435  357135 1595260 1556413  183635 1312192  431637 1346843   30906\n",
      "  197958 1541710 1595510  139334 1216748   13733  518862  542686   69410\n",
      "  397180  181266 1612069 1086433  197196   70188  385801  233612  102606\n",
      "   29415  542765  330001 1141107 1540313 1087183  323135 1214955 1582469\n",
      " 1160612   72961 1585109 1607528 1331331 1205215 1507693  506496  173314\n",
      "  138762  280380 1176444  110719 1074225 1608128 1305780 1326242 1507657\n",
      "  481697   35353  321509 1577692 1622838  357941 1333269  115643  284497\n",
      "  160206  468964 1635841 1167398 1335167 1623908 1582646  507259 1609038\n",
      " 1292920 1180528 1099133  471160 1593948 1540391 1563508 1338320 1086554\n",
      " 1624325 1286888  230816 1306840  315105  548514  348081  334397 1052705\n",
      " 1666444  501394 1671238  230663  378617 1303879  555051 1093351  381741\n",
      "  322365 1067288  342757  604796  516120 1098037  171747 1171745  249541\n",
      " 1312573 1575992 1564693 1671938  543932 1139937  271154 1527029 1506093\n",
      "  547372 1303224 1645841  250211 1311223 1508359 1636931   81243  195329\n",
      " 1502077 1582078 1646570 1567459 1134595  545713 1090405 1315488 1643879\n",
      "  382443  616192  210027 1307343 1180498  458700 1539135   75126 1637035\n",
      "  506532  230728  314964 1180641 1554139 1624620  433810 1056746  179889\n",
      " 1593032 1343510  107334 1515852 1577401   67357  548312  334728 1387267\n",
      " 1337141 1480095  428666  486869 1494314   76341  381647  173638 1149023\n",
      " 1309252 1449834  280095  325793 1097197 1311275  173299 1298694 1655726\n",
      "  471887  555113   97452  376346 1313478 1517660 1540214  348155 1614379\n",
      "  474867 1602171 1092083  200937 1653788  233528 1365330  159395 1158451\n",
      " 1319481 1566896 1298636 1588370 1605518  184013 1281237  278980  131712\n",
      "  103282   20487 1501107  229480 1641887  173103 1666636   76713  197776\n",
      "  398040  542700 1314420  362958 1087137 1658330 1669366 1090773 1579491\n",
      "  396013  461009  301079  230655  147964 1141030  554290 1174487  436157\n",
      "  549918  462859 1561086 1649242 1515797   99803 1296030 1098850  336055\n",
      " 1643150  119690  200745  409731 1556847  235529 1659739   40599 1603437\n",
      " 1317828 1665655  419333  499697  280078 1053874  528648 1166736 1598335\n",
      "  609739  260289 1276644 1093905  318394 1513815  544826  545067  104247\n",
      " 1216080 1328926 1275091 1526606  388083 1507698 1639986 1654918 1475780\n",
      " 1597599 1333124 1141123 1161684 1322226  115653 1613590   98213 1651989\n",
      "  432634 1492852 1174854  121438  500516  217823 1513676 1536425  495716\n",
      " 1658757  139230 1475315  506805 1614817 1655932 1286788  547897  189272\n",
      " 1179832  458377 1564516 1098790  678143  380847 1612050  467053  523153\n",
      " 1329806  286108   74899  321593 1303951 1507668  357660 1503902  471201\n",
      "   67303  542820  192836   69947  210322 1322492 1524337  284526  430327\n",
      " 1330986 1091311   69865   69797 1308561 1089538 1658629 1570352 1543953\n",
      "  320346  186700  241219  315029 1532422 1326614  335868 1316652   76523\n",
      "  172592  248556 1298679 1341191  215055 1612863 1668477 1314391 1557288\n",
      " 1301574 1668092 1524937 1670909  236790 1552074  498474 1303761  334694\n",
      "  435724 1550917 1582462 1303824 1425930 1315590  460158 1167434 1399609\n",
      "   27800 1299295 1623874  421508 1318140  430551  211387 1058584  108576\n",
      "  383868  280283  383057 1616559 1540516  286427 1557584 1336503 1592037\n",
      " 1624953 1301062  245421 1610266 1533641  117672  125308 1431331  563615\n",
      " 1655863 1343682 1518730   27652  527504 1592050  395264  119748 1085918\n",
      " 1298738 1131647  547414 1596363 1566980 1335420  383734 1596982   38205\n",
      " 1338862  315921  320801  113905  320774 1058350  162187  334846 1180711\n",
      "  147827 1304155 1093781  319478 1508412  543880   84955 1174574  128881\n",
      " 1127510  241284  153947  162317  259232 1158762  401606   26064  337703\n",
      "  551548  160424 1316069 1058027 1641780 1345342  368032 1506282 1316335\n",
      "  239913  311405 1609700 1328016  373627 1643286  475628  520827   69473\n",
      " 1636429 1076582   89348 1076492 1083136  314677 1478229  470246   27573\n",
      "  543195  413816 1194838  229025  535745  270414  506503 1570756  241404\n",
      "   92915  544923 1344803 1521781 1439093  320069  183849  356924  542610\n",
      "   93358   24769 1126915 1645673  320334]\n",
      "4\n",
      "train_indices: [8564 6010 9393 ... 9062 5866 6179]\n",
      "x_train_names:\n",
      " [1071604  323203 1654158 ...  471887 1567317 1299376]\n",
      "test_indices: [3770 6969 4368 7273 1702 2359 1617 1803 1727 2191 2950 5289 1743 9342\n",
      " 5809 1661 7730 2157 7293 1605  527  581 1813 6914 3874 9163 1044 5840\n",
      " 1719 4082 3607 1762 6817  966 2066 5468 2646 5819 5015 1959 5837 7874\n",
      " 6610 3234  983 3666 8767 1753 2524 8025 3691 8630 8282 7646 1280 5197\n",
      " 2187 1309 6763 7093 8216 2672 4891 1848 3674 9019 7320 2019 3987 6026\n",
      " 8997  333 9161 7472 1210 4235  364 3918 3047 2719 3350 7950 9369  324\n",
      " 2431 5212 2744  261 8193 5346 1452 5509 3681 3474 6244  448 8271 9055\n",
      " 8508 2140 7920 6932 2442 2362 2962 6912 8942 8799 3859 4328 6813 3951\n",
      " 7366 2711 1707 4288 5492 7562 4628 2375  410 2436 2383 7909 7386  814\n",
      " 2385 4031 3415 2633 5551 7638 1799 3009 5818 7111 8701 1669 3540 3385\n",
      " 1054 7926  282 1057    2  378 6922  211  330 4700 8368 8002 4981 5483\n",
      " 4066 7600 2050 2115 7807 4508 2758 5569 1515 8334 5311 6733 5504 2698\n",
      " 5572 7704 8328 9261 7844 3326 8134 7433 6156  663 1694 8863 1566 1166\n",
      " 5168 1053 5868 5152 9281 1288 2937  240 2301 4557 9150 3142  299 8520\n",
      " 4809 6795 7188 9145 5735 8521  961 9134 3562  271 6255 4109 3067 8317\n",
      " 5893 2773 7040 4263 3654 5924 6214 8941 8400 7338 1004 7789 4391 8528\n",
      " 2774 2669 3559 4015 2259  911  598 2991 7216 3330 6955 5805 8297 6526\n",
      " 3077 7782   62 1977 4340 9118 8198 7886 6760 8760 3027 3824 5336 6665\n",
      " 6139 4937 3904 6377 1414 8084 9217 4217 7070 2759 7683 2952 3783 2638\n",
      "  188 7474 3621 6449 8280 5269 7052 4455 6506 5107 1141  354  406 2621\n",
      " 7350 9207 9407 7149 4093 6673 2675 1235 8677 8990 7203 6158 6648 2254\n",
      " 6167 9345 4183 2695 4076  937 1972 2213   81 3848 8815 6163 3675 4529\n",
      "  984 4334 1456 8348  349  954 6085 3721  309 3151 3140 3035 6410 8859\n",
      " 5760  969 1886 5587 2842 4298 6374  729 2313 8547 7134 5418 8667 5717\n",
      " 7312 4518  727 4049 6068  538 7139  454 2541 9375 4458 3979  982 5295\n",
      " 5971 4856 5794 8821 7033 3436 4523 3585 7679 8171 7158 3438 4292 7232\n",
      " 8259 6146 3380 5628 8474 9300 6337 4269 8035 5769 2856 1341 3260 2154\n",
      " 2648 1067 1613 7977 8744 1601 3384 3462 4092  712 4625 2040 7154 2878\n",
      "  965 1115 7484 9370 3282 1236 4584 5957 7413 8336 3772  376 7707 2495\n",
      " 4575  647 6786 6900 4530 1320 1665 2869 7534 2299 3059 6254 2150  751\n",
      " 6489 8034 3110 8568  904 6130 6951  543 5011  825 9124 4725 8668  428\n",
      " 8545 3286 6127 9154 1523 7801 2580 3198 2850 7347 1439 4018 4535 2989\n",
      " 7434 2673 4826  368 8159 6335 8637 9044 3087 8871 7155 2834 9398 7737\n",
      " 2089 6419 6894  225 6261   18 6971 9075 8823 4247 1551 6820 5374 2590\n",
      " 6162 8775 3588 2201 7187 2855 2435 4279 8393  398  773 1479 2081 3952\n",
      " 2883 4159 7351 3006  393 6825 2703 7394 4699 4727 3048 5238 1717  746\n",
      " 7745  675 1085 6539 8316 1488 6202 3200 6541 7015 8732 2864  249  566\n",
      " 8933 4005 5073 2374 3687 6007  596 5783 8928 8932 6330 1777 6647 6923\n",
      " 7615 3599 7205 5399 7024  407 4014  744 1680 5148 6530  771 6870 3905\n",
      " 2434 6070  313 6623 4062 8939  569 2710 8127 4942  594 9372 6917 6676\n",
      " 8172 7763 5797 4717 1384 8283 9348 2266  731 4200  429 3181 4668 4686\n",
      " 3098 6604 5115  519 2268  321 9129 6938 7861 1868 1244 1021  471 3440\n",
      " 5567  786 3439 4286 4091 3090 2605 7488  415 2571 3327 7244  128 4894\n",
      " 9315 8264  595 6524 4359 7513 7264 3696 8094 8712 3042 5119 6625 2753\n",
      " 1065 1025 6435 8793 1356 9171 5902 5305 8362 4877 5377 2667 6578 2504\n",
      " 8846 2832 7451 2944 4531  720 4110 1233  335 5262 4979 7756 2110 4013\n",
      " 2186 1821 8972 8894 5072 3626 4818 7700 8298 1622 6444 8078 2907 8943\n",
      " 5304  352 5061 6102  926 5681 6318 5117 3646 7341 3105 3338 6491 3452\n",
      " 8574  269 8861 4451  194 3734 3614 7096 7630 8177 1816 1901 2565 7284\n",
      " 8756 8484 6903 7949 6642 4313 4783 3277 7901 6081 5745 3392 9034 1037\n",
      " 8559   50 8118 1815 4307 6446 6525 1696 3453 8050 1984 2491  302 1712\n",
      " 5694 2930 8924  512 3625 7554 7738 4297 5705 3211 8726   75 9175 1872\n",
      " 4748 3857 4670 3667 1477 5387 1847 4188  701  441  326 2799 6021 3520\n",
      " 5627 7963 3050 2372 3388 1020 2645 6338 2101 5443 8914 2427 3514 1353\n",
      " 8801 3890 6554 3375 3306 6726 1027 7565 5537 3466 5846  514 5940  924\n",
      "  306  234 8921 6869 2527 7786 5934 4865 3336 7336 8018 7794 4936 1374\n",
      " 7631 4360 8936 3066 8227 2377 3317 6056 5133 7100 3925 3844 3888  796\n",
      " 8424 4273 6239 1462   21 9399 8184 8059 5968 2857 3099 2612 8792 7004\n",
      " 4434 8827 7858 4299 2092 1759 8104 9263 1544 6321 4417 2465 4102 4941\n",
      " 3779 8669 7009 6851 1796 7759 2564 5019  464 7305 7637 5085 1051 5976\n",
      " 7917 8185 5220 9117 2158 1248 9165  468  953 8782 8419 3689 2525 6878\n",
      " 7742 6766 8989 5413 1046 7417 4501 3429 6025 3872 7765 6681 2775 8493\n",
      " 3239 1624 7553 3073 6336 7837 1564 5697 7821 5954    6 3108 6837 6416\n",
      "   92 4580 3424 4281 1013 4902  465 5087 7624 6773 8678 6827 3676 8256\n",
      " 6510  831 7480 7847 4116 2848 8480   22 5574 3536 4612 3225 9332 1527\n",
      " 6138 4077 8601 3127  735  401  256 1062 7420 8717 5899 6391 2195 2220\n",
      " 2574 6358 7547 7204  853  833  690 2634 8734 6814  798 7634 1823 6967\n",
      " 7025 4060 4994]\n",
      "x_test_names:\n",
      " [ 335200  475619 1672673 1096416  470474 1299022 1086362  534603  170163\n",
      "  357065 1069690 1613284 1312228  436157    7693  223065  149208  436073\n",
      " 1137142 1058612  409776  430551 1590812  315465 1308229 1169217  319718\n",
      " 1159064  548961 1612645 1587813 1518777 1594208 1180438 1313452 1141041\n",
      " 1431630 1556359 1348814 1053157 1541710 1667642 1558689 1597117 1645648\n",
      " 1624511 1088437  383319  461314  529055  202454 1671238 1609700  460418\n",
      "  363631  319918 1052934  366110 1584851  467283  210752  209397   76324\n",
      "  320780  499625 1154456 1553948 1581640 1656054  326653 1460006  154528\n",
      "  544600  221158  535952 1524696  210562  102606 1101679 1671197 1179418\n",
      "  217200 1326242 1341879  171842 1097457 1492936 1589753 1221558   65569\n",
      " 1284804  482537 1306705  118411  101282 1628555 1324676 1317853  416317\n",
      "  326290  323277  299230  129656   75223 1594523 1160159 1601418 1179999\n",
      "  197884 1624362 1556488  549183  532250  503386 1168648 1085901 1563525\n",
      " 1157499  234854 1627859 1301038   36983 1606341     165 1338862 1617566\n",
      " 1508819 1321208  470465  500873 1647726 1052092   95849  419671 1555875\n",
      " 1070789  358237  319975   21668 1515739   95283  104247 1593555 1341054\n",
      "   74965 1549928  320858  498205  481697 1548605  538833 1316111 1220182\n",
      "  327915 1540656  408892  322365  113905 1496540  528215 1658647  188323\n",
      "   35483  535331 1550263 1507780  228427 1319809 1594403 1583123  518862\n",
      " 1311227  149196 1110488  395975 1052970 1300193  325215 1328464   81903\n",
      " 1150324 1207259  705821 1596404 1559388 1517757  214993  337703  640901\n",
      "  284582 1180654 1665731  193433 1331572 1557709  549910  521993  285831\n",
      " 1610871 1281926  217669 1121451  215018 1145927 1567257  282165  221394\n",
      "  502040 1613064  553599 1550274 1094053  179889   76523  210027  386091\n",
      " 1174843 1336386 1163597 1082831 1147162 1456108  282897  461004 1515254\n",
      " 1600433  284916  367722  429993 1567420   27482   27800 1538293 1665405\n",
      "  375822  528627 1517058  474941 1527298  533668   65722 1158762  397593\n",
      "   73266 1556161  381696 1295916   82723 1665766 1320323  540521 1527197\n",
      "   67262  102749 1506612 1053281  323267 1090230 1361736 1284859  343374\n",
      " 1522451 1401269  393420 1507788 1594536 1323024 1609489  431462  529281\n",
      " 1347128  363998  401606  173289 1604102  110916   73386  402920 1647648\n",
      "  345476   77210 1298616 1351088 1075332  197712  215983 1098713  271007\n",
      " 1180613  405014  320993  172473   70053 1653860  145739 1309158  325837\n",
      "  320069 1594196  247618  345039  196377 1324191  575973 1075378 1507655\n",
      "  156154 1062495  259340 1507028  387258 1399737  519739  543777 1658330\n",
      " 1539317 1350773 1140333 1551595 1180568  179437 1160712  167846  148397\n",
      "  102834 1507689  247836  185892  659408  477403  499005 1310833  546792\n",
      " 1615935 1442513 1565707  287345  237316 1325389 1255320 1666685 1507622\n",
      "  278998  262454  382007  260668  189612 1130498   75619 1292815  165908\n",
      "  336406 1505838 1587849 1284692   30538  548193 1494337 1281151 1506346\n",
      "  334705  114264  147972  320352 1097716  496495 1158413 1285882  283881\n",
      " 1315459  262247  119952 1096260 1069893  282531 1519595  435084 1140218\n",
      " 1339245   69889  103389  233612 1641780 1084922  310527  270926  318598\n",
      " 1603442 1144177  321114 1582446  506502 1052708  393744 1565601 1342444\n",
      "  318616  357316  432121  173465  173352 1180695  545489 1086554  446746\n",
      "  629194  316426  207890  490807  494001  320645 1130391 1282375 1524999\n",
      "  115254 1508361 1516166 1087252  318791  234729  167619   28541  284653\n",
      " 1650318 1095141 1540628 1529257  535277  108693 1615467  547897 1577692\n",
      " 1649523  547748 1081833  284780 1085075 1554104 1299233 1602630 1333653\n",
      " 1582564 1515188  400005 1583676 1097332  325216  282656   29147 1584549\n",
      " 1611999  247625  238389  216050  600955  265238 1346006 1517660  492288\n",
      " 1518416 1495729 1338423 1659152 1256194  172527  371560  334792 1302614\n",
      " 1160092  461663  374648 1086064   83039  346237   48908  324282  120019\n",
      "  481086  387229 1552103 1613670 1520084  542591 1070639 1593948  453138\n",
      "  526125 1594439 1286788 1320730  101664 1336229  413917 1677221  545122\n",
      " 1247836 1617146 1636396  663728 1632155 1309345  499606 1579271 1134239\n",
      "  320186 1089375 1300191 1167147  211158  524909  314599  498705  282180\n",
      " 1551939 1584396 1561086 1577755 1174881 1314262 1296731  527348 1309631\n",
      "   74334 1647952 1649438  432771  282626 1304961 1563185 1090745  230816\n",
      "  136616 1641919  351153 1068076 1601379  138598 1452622 1058407 1514488\n",
      " 1382174  345658 1333686 1360283 1624553  357550  210360  387952  216116\n",
      "  215297 1602507  487459 1522133 1376561 1127559 1582469  345630 1615129\n",
      " 1088536  197075 1567128 1335112 1337543   92408 1067974 1655743 1342009\n",
      "  470408 1538831  520214 1624404  544585  186700 1307764  286725  189973\n",
      " 1493327 1534460 1339880  193862 1645581   65602  335386  240285 1098790\n",
      "   71049  431450 1170763 1556498  408758   69421  493931 1592037  546776\n",
      " 1082127  151752  406652 1524784 1494623 1578251  436250 1396932  396421\n",
      " 1624657  335029 1160477 1276379  431491  320676 1180441  162081 1160031\n",
      "  327142  357509 1608411 1313777   43751 1301112 1527125 1608483  161316\n",
      "  286635  528115 1331067 1182506  254435  118832  277182 1515919 1582527\n",
      "  543380  544751  495698   64604 1506416  493609 1153742 1323918  197375\n",
      " 1095179  186280  356003 1091683  540670  230792 1647916  133954 1163760\n",
      " 1594551  326571  404476  501371 1552233  528198  404671 1452183 1088115\n",
      " 1642827  283961 1315080  247347  412432  524541   66125   65271  294461\n",
      "  321509   99803  350538   51782 1593920  318342 1336171  543770 1639877\n",
      " 1054039  210894  528420 1169292 1061741  248133  176419 1535910 1052543\n",
      "  308727 1523867 1098026  216404 1651925  101465  392695 1556322  250482\n",
      " 1319471  220858  386153  318539 1607528 1565525  117672 1242302 1203635\n",
      " 1412719 1557325 1551656   72392 1280492   91255 1593934 1520865  522376\n",
      "   96849  469374  510736 1594636 1292022   21000  214728 1666185 1168443\n",
      " 1443153 1171361 1540818 1053152 1600734 1284700 1496322  116816  323701\n",
      "  336950 1144638  159243  378270  408623  220707 1672816 1313170  544421\n",
      " 1345902  148742  239393 1093975 1521303  278141 1601207  318906 1324499\n",
      " 1517861  507873 1086433 1325928 1335420   70467 1615768 1598335  255653\n",
      " 1326614  178761 1625430 1522350  434074 1296588 1537898 1405271 1556553\n",
      " 1515797  482273  535120   98670  516397 1587714   97692 1337141 1592657\n",
      "  542863 1294353  270414 1335783  366991 1298694  172523  555344  148664\n",
      " 1534346  487362 1565543  131712  344924 1625870  348081  472742  551742\n",
      " 1183708 1130535  190679  745476 1593122 1138176 1423534 1522918  115758\n",
      "  334987  381123 1543871 1191234 1170027  471160  142710  138042 1163903\n",
      " 1347137 1130364  326708 1310821 1624852  520892  532061 1321945  315037\n",
      " 1332131 1053361   89987  160926 1549657  535526  506524 1326101 1652998\n",
      " 1180690  365646 1666672 1141107 1524719  468100 1156885  107841  355317\n",
      "  284543  191043 1053621 1637028 1345864 1096192 1672599 1141711  282613\n",
      " 1592509  173180 1642687  324920  572802 1140461  136851 1063421 1656825\n",
      " 1611920 1681615 1351065 1053874  434020  197869 1529188  276715 1320194\n",
      " 1466658  317972  318528 1596906 1308245 1513776 1084405  101400   72954\n",
      "  259642  170888  314771 1157723  528542  194233  459824  500015 1566488\n",
      "  412819 1645624  525939 1601424 1595734 1563316 1680268  114354 1583285\n",
      "  537353 1336434 1549933  588121  114596  222317  430059 1529267  544550\n",
      " 1613907  387868 1669665  412075 1302717 1524119   70724  249525  220774\n",
      " 1551809  222658 1300216 1551467  222096 1506093  200446 1504169 1053143\n",
      " 1519117  148492 1556422   91449 1344827 1646558 1648923  319651 1310971\n",
      " 1161163 1051226  429962 1518836  318825   26437  438155  334388 1420196\n",
      " 1557284 1092480  326570 1596924 1611107]\n",
      "5\n",
      "train_indices: [5595 6968 4767 ... 1821 5462 7385]\n",
      "x_train_names:\n",
      " [ 520174 1624556 1582901 ... 1647916 1170798 1555884]\n",
      "test_indices: [8262 2810 2232 9095 1223 4396 4025 3911 6627 9320 3562 5865 5928 6822\n",
      " 3535 4571 1487 4763 2379 6696 2245 2580 5861 4261 2381 9258 4256 9115\n",
      " 1592 6740 4288 2441 3988 5071 2954 5375 2301 6254 2490 3934 6304 6880\n",
      " 9261 3834  767  128 3585 8222 5043 5152 3363 1346 4120 5330 4675 3008\n",
      " 4595 2340 7297 3467 8255  257  697 8857  755 7463 9199 3886 8742 6316\n",
      " 7294 7406 9345 2848  244 6518  618 5480 4346 6983 1060 1446 2392   95\n",
      " 4475 4586 5700 2592 3351 6465 5976  631 7368 1630 2768 6535 3208 5291\n",
      " 5431 2747 5526 8658 5025 6681 7932 7916 7514 7436 7390 6298 4909 7401\n",
      " 8350 9312 4307 8370 3789 8016  266 3221 1109 3396 2678 6089 5926   64\n",
      " 1292   16 7392 9322  440 9314 1921 2568 3151 6584 9071 5319 8771 2786\n",
      " 9308  420  808 4465 4786 3470  571 4052 3680 5234 9319 3373 2348  980\n",
      " 5483 8648  121   86 5074 1050 8154 7441 7598 8209 5451 7676 1017 7419\n",
      " 3161 1850 2203 7982 3521  595 7082 7949 4915  811 1665 8605 6384 1107\n",
      "  187 6763 5466 4368 6986 1519 4222 1862 7437 2524 2383 5407 7866 1069\n",
      " 7206 7516 1976 6893 5229 4970 4832 8203 4408 1984 2550 7004 1531 6412\n",
      " 5100 1682 8732 4603 4180 3314 4183  585 2354 8280 8271 6480  949 3769\n",
      " 2218 5435 4800 8674 4962 8774 6868 8260 5927 6591 5633 2390  180 6416\n",
      " 6684 6806 3478 6590 4895 7455 8971 8992 2000 2182 7647 7239 6816  120\n",
      " 6830 3962 5683 3745 2473 2389 1561 1965 8722 5549 3149 1209 1656  814\n",
      "  955  476 8236 3589 6594 4920 5102  667 3612 4285 3740 3285 8982 2693\n",
      " 9272 9099 6929  262 3199  607 8970 8393  993 5902  471 6539 3777 1284\n",
      " 3787 3756 6834  211 9171 9025 8585 3775 4849 5184 5338 5658  270 3315\n",
      " 3086 1703 9228  254  133 3943 5038 7491 5621 9162 6145 5901 2291 8737\n",
      " 1681 8770 3327  288 4172 4751 2033 9339  522 5046 1461 1808 5761 9090\n",
      " 1845 1013 6912 5179 3347 1511  689 7586 2183 2311 9377 8415 1200 1439\n",
      " 7036 1220 4292  739 4250 5736 8794 3667 2374 5277 8721 5122 8252 5246\n",
      " 2280 4690   82 8302 2911 4458 6382 6478  954 7045 1257 1192 4993 8206\n",
      " 5964 5245 7656 2215  423 2788 3696 1165 3628 6757 3431 7607 1015 3723\n",
      " 7115 6599 6464 4451 9333 6120 6023 9022 6560 8682   15 3712 4619 7085\n",
      " 5427 3130 6445 8987 8647 1786 6709  885 1963 2793   67 3531 2931 5614\n",
      " 3370 5885 8183  233 2833 6424 1335 7006  693 6330 8894 6435 3959 3262\n",
      " 6722 7380 6907 8133 1071 3663  354 6642 4139 4824 2796 7418 1156 4570\n",
      " 5922 6459  186 1929 2836 3932 7789 5069 7393 8410  771 6027 8614 7857\n",
      " 1615 6493 7230 1059 3043 8103 9266 3129 7856 3006 2765 2820 8665 8281\n",
      " 6924 1322 3766 6488  156 7709 5731 7283 6220 8628 6112 4190 8041 9045\n",
      " 7581 4819  427 7180 6866 2060 9039 3102 8549 1279 1419 6383  914 3545\n",
      " 4226 2615 8914 4133 4232 4009 6463 5452 3714 6136 1751 3308 2251 4413\n",
      " 3333 4636 3565 8729 8382  847 7445 1363 7610 3686 8246 1876 6820 7591\n",
      " 2333 2933  411 3671 4200 1469   12 2961 9233 8177 6729 7713 1235 3647\n",
      " 7830 1946 6595 9040 6778 8525 7064 6971 5694 2596 6410  529 8190 3633\n",
      "  104  415 5799 4491 4481 9144 5717 1123 8294 3499 2431  289 2921 4543\n",
      " 1163 9176 9142 4320 5831 6978 3446 5816  372 3461 8964 1189 5272 5208\n",
      " 8824 6512 6207 8700 9260  737 3173 9281  360 6941 1147 4861  417  648\n",
      " 1678 4802 7760 9127 7171  901 1385 4294 7247 8400 9367  880 3642  563\n",
      " 5682 2635 8566 5540 6766 4665  862 4258 8285 1601 6739 4152 2533 2694\n",
      "  794 4064 1733  196 3350 1285  893 8608 6949 4276 8832 1180 1595 8437\n",
      " 2349  315 4937 5017   39 5013 9220 2614 3163 2260 7234 6461 5983 1369\n",
      " 4927 8269 6714 5376 8312 4878 1517 3952 2897 5589 8229 7276 1769 1348\n",
      " 1962 1197  972 9019 7954  627 6380 7554 5119 7364   41 4522 6750 8959\n",
      " 6661 1796 8644  645 5268 3399 5672 2574 1935 2160  748 4011 2870 5438\n",
      "   84 1425 3038 5006 3463 6406 3374 4215 6097 1730 6717 8147 4745 6205\n",
      " 7622 7194 1961 2758 2295 5346 4255 4770 8860 6415 6209 5211 5938 7670\n",
      " 7795 2867 1612 4649 1669 9034 2575  758 5078 8149 2609 9077 5470 8044\n",
      " 6813 6853 1617 3239 1648 6108 4179  554  203 2098 9075 1401  964 4090\n",
      " 4360 4788 9334 3466 6355 5044 4899 8275 8494 2853 7133 6426 3725 7301\n",
      " 8152 7632 5720 9223 7542 4633 2997 2905 9291   14 2969 3977 3011 3230\n",
      " 3736 9351 9007 8791 8889 1576 6505 4551  377 1020 9391 1459 8148 7558\n",
      " 3607 7995 7948 1049 7354 2226  323 8892 4841  853 3742 2988 1621 7749\n",
      " 5990 2276 3223 8314 3610 8477 7732 6030 4267 1664 6841 1548 3917 3490\n",
      " 3522 8977 9033 5001 1264  957 7221 6240 7020 9057 8805 4959 4731  376\n",
      "  387 4738 4940 3454 9159 4058 4739 3028 4236 8197 8166  297 8179 4113\n",
      " 3881 1529 7678 6428 7637 1997 4136 1121 5963 4470 1881 4948 3863 5413\n",
      " 3735 3215 7833 2863 3058 3784 5999  276  736 4561 5597 6487 8155 7476\n",
      " 2436 5758 3188 1795 4198 7342 4502 6109 5532 6088 8536 5575 4397 2447\n",
      " 2380 7313 4002 6282 2012 1910   23 1609 4349 3944 8513 2370 5117  881\n",
      " 6646 7566 5033 5911 7915 8025 7681 7255 2720 8786 4382 4742 7555 2781\n",
      " 6702 2495 7127 6133 2119 4246 5474 7101 7106 4406 2881 3381 4418  453\n",
      " 3711 4743 6221]\n",
      "x_test_names:\n",
      " [1519893  221493 1141230 1339674  460774 1085690 1497010  474072  337633\n",
      "  269762 1567257  190033 1564530  196440  279948  548644 1529269 1069591\n",
      "  318305  233873  535929 1333653  337628  233617 1096336  148704 1069983\n",
      "  527724  262387 1067380 1085901 1495189   20829  499638 1160638  319753\n",
      " 1180654 1087252 1147187 1648857  279278 1050576 1311227 1563624  118404\n",
      "  436250 1494337 1327888 1616393 1517757  323527 1609516 1624620 1097855\n",
      "  237736  248556  385212 1556469  382921  178155   24509 1556252 1589105\n",
      "  544752 1156119  544503 1335814  482051 1433792 1093718 1623874 1309302\n",
      " 1309158  387868  314119 1655504  280963  383093  547498  498633  316161\n",
      "  147827  433810  543383 1087026 1094559 1531369 1159073 1320640  674611\n",
      " 1053621  500190  249411 1561502  282767 1665812  322529 1545795  449822\n",
      " 1179919  471406   74456  233489  317972 1152537 1579840  519733 1096034\n",
      " 1562908 1303567  242006  168183 1427483  161501 1551656  694890  476635\n",
      " 1487346   73269 1632197 1508811 1522825  423859  197887  135199 1594423\n",
      "  210008 1650098 1624967  367760  239131  249947 1061352 1333137 1140333\n",
      " 1578837 1180563 1322596  167408 1520926 1217490  586165  535340  543670\n",
      " 1263283  172551  461009 1595367 1339360 1615130 1454151 1140640  336467\n",
      " 1567624  327915 1169390   92526  176617  284809  387438 1458805 1310496\n",
      "  165241  476519 1594006  123122 1158838   76747 1593575 1058366 1131930\n",
      " 1471632 1076492  335029  273040  101465 1180440 1169442 1282375  449566\n",
      "  468952  216088  146596 1584851 1567797 1672673 1092235  449732 1508359\n",
      "  322824 1613001  461314 1606341  495422  176794  347440  730467  983138\n",
      "  458349 1587890 1147093 1084050  138700 1315547  125040  522376 1582904\n",
      " 1130364   76093 1624635  393743  118771 1584396 1569037 1549329 1152441\n",
      "  325837 1109870  479539 1347128 1324676   25019 1596885  434714  106294\n",
      " 1162106  119624  392687 1665655  479123  197798 1169428  103613 1180594\n",
      " 1597221  115519 1540237 1566488   49607  460005  373345 1665653 1158436\n",
      " 1596828   27662 1085565 1303693 1531374 1174995 1296493   66251 1582477\n",
      "  319741   79496  519241   67076  460140  476887 1351053  116821 1180181\n",
      " 1158026  471329  173314 1304008 1617566  492327 1608476  114747  549266\n",
      " 1549943 1080946 1517899  390481  101032  118880 1637153  499512  193512\n",
      "  357076  102808 1576193 1598231 1550975  266323  362781 1670771 1593948\n",
      " 1510157  528115  431450 1167147 1159469 1592934  384219 1539370 1335154\n",
      "  498205  286635  120555 1633700 1087183 1551946  357035 1097717 1593979\n",
      " 1090817 1612748 1140509 1268781 1329488  479461 1579668 1159181 1571030\n",
      "  358618 1591548 1096385 1052644 1160007  505583  390095 1644976  109642\n",
      " 1494623 1097579  318394 1514406 1141077 1655509 1613197 1605042 1284665\n",
      "   77150  345679 1631990 1157891 1595734 1160159 1554139  320606 1068137\n",
      "  420744 1085424 1518677  246827 1054335  179282 1624936 1583676   73241\n",
      "  314434  147972  166047   85827 1052898   24333  159243 1309631  235218\n",
      "  518820 1653623 1645700  337652  547961  527155  137024  127968  460177\n",
      "  189612  184024   26886  543777  468373  373805  325893  233457 1647882\n",
      "  355552  214751 1067257  343232 1541896 1309252 1180441  210888  365135\n",
      "  177889  180077  144319  148480 1655031 1299435 1556922 1522330 1054039\n",
      "  316690  286798  200001 1387409 1649189  136875 1512891  347097  506755\n",
      "  506099   73924 1180660  467371 1571395  501106  324086 1311552  256259\n",
      " 1550646  316665  286518 1053053 1597239  463225 1311869  179604 1097870\n",
      " 1159347 1531363  528005 1062400 1552758 1514506 1563185 1163760 1527125\n",
      "  337613  460205 1176551 1624653 1349352  157451 1624638 1274889  402920\n",
      "  392695 1563734 1655726  107432  533663   71211 1492818  215878 1591682\n",
      "  501340 1074749  549226 1655864 1456108 1652968 1176009 1428568 1360283\n",
      " 1552058 1332480 1349108  335534  171656 1550849 1084953  277610  280283\n",
      "  284145 1641624 1331595 1677221   81283  298133 1333586 1576148 1500396\n",
      "  425519  156507 1092832  417099  515404 1549957 1656118 1169022 1649356\n",
      "  547922  137970  116624  346509   74464  365988  542956 1203302 1569257\n",
      "  357553  391553 1538377 1521023  233429 1581599  286507  229270  118152\n",
      " 1318098   82720   70467  243438  532256  118837 1370423  220773 1159243\n",
      "  110526 1079601 1508641  391846 1641461 1540453 1531257 1308057 1671221\n",
      " 1539812 1305229 1058710 1583254 1094923  318570  737589 1592414  346237\n",
      "  275001  451343  156725  270533  381634  520214   65004 1203549 1527252\n",
      "  472716  176419  547957 1071775  271007 1496872  460179 1501644 1595902\n",
      " 1365330  346368 1619111 1613678 1160092 1594636  406719  179437 1129768\n",
      "  234097 1556154 1310390  406652 1092668  276768  332731 1169517 1565707\n",
      "  502063   80995   76304  171842 1517850 1597599  184134 1141158 1608429\n",
      " 1152198 1316910 1069692 1062055  320706  247858  316712 1569832 1138799\n",
      " 1053295  277004 1681773  486324 1656717  378784  356652 1068168 1340679\n",
      "  347954  214993  133018 1156134  475674  230655  101237 1627860  184013\n",
      "  161727 1181253 1614911 1156069 1592748  486869  471212 1131647 1163597\n",
      " 1083106  270990  183635   27004  430926 1502363 1179210   99519 1611920\n",
      "  519640 1594418  318088  957459 1084922  229224 1656894 1287978 1582215\n",
      "  429728 1615307 1540516  159265 1179418 1061630  366211  100071   74454\n",
      " 1646736  151889  262928  386257  133189  676496  319359  102749  148410\n",
      "  361573   72910 1677787 1239689 1284722 1259753 1079190 1151786 1497756\n",
      "  241260 1596432 1130270 1655276 1582319 1542451  155399 1500349 1320730\n",
      " 1300142  600526  334526  434384  356880   73042  480409  545008  234667\n",
      " 1154456 1080473 1597582 1618479 1168443  357509 1321701  190782 1329314\n",
      "  318627  366824 1579945 1666672 1588846 1468254 1320558  250213  386258\n",
      " 1648923   77160 1609046   92498 1085418  563829 1137354  138571   66605\n",
      "  325091 1052669   74494 1596995 1186594  284386  326312  357615  542954\n",
      "   33210 1567036   40376  548164  421521 1535486 1658647 1218708   65569\n",
      "  545204 1310261 1495526 1584761 1554694 1601334  200937 1677315 1056832\n",
      " 1569793 1515758 1313217  319975 1565525   66739 1642237   28947  325194\n",
      "  114138 1069807 1538253  384176 1556488  396664 1086362 1308245 1333157\n",
      " 1578512 1332648  317768  257471 1146478  461663 1376419  432515 1091311\n",
      " 1565543 1148671  328640 1515797  357475  545004  392804 1602438  162140\n",
      "   67500 1562989  325232 1076488 1524742 1061912  591315  362825  136995\n",
      "  320630  221283 1585109 1650736 1620465 1310676  637908 1519159  433491\n",
      " 1340536 1584799 1646661 1318693 1314932   73583   99289  334589 1540298\n",
      " 1538841 1517861 1421482  425004  115643  226579 1587813 1562993   73187\n",
      "  276358 1645635 1054095 1527128  346273  173638 1051226 1555071   69865\n",
      "   73445  545706 1518581  234223 1671476 1656675 1303683  552885  233908\n",
      " 1556159 1590285 1053791 1345284   99385 1330548 1339278 1314864  695239\n",
      " 1397670  203128 1524834  215726 1550162 1169787  384975 1573505 1635563\n",
      " 1204865  466773 1086554  548230 1182517 1374336 1583522  295829 1570858\n",
      "  544091  321003 1450077 1550972 1552269 1099112  234102 1671118 1644097\n",
      "  386256 1219690  448534  355317 1627202   72647 1594539  341581 1339292\n",
      " 1567368 1289145 1197362 1351065 1317828  392806 1420493  527504  318547\n",
      " 1601101  283045  521448  279965 1307159  320605  386943 1532422 1531404\n",
      "   36983  544582  195525  389369 1518535 1169214  221981  119070  216165\n",
      "  474393 1639832 1057467  513397 1622238 1053535 1329035  307900 1086617\n",
      " 1630139 1632624  127711 1501562 1548987 1310364 1449834  161001  294461\n",
      " 1529260  101711 1495019  396013 1073482 1319022  529055 1345342 1602451\n",
      "  153947 1620635 1520103  432407 1310207 1086317 1348769  629194  188886\n",
      "  517154 1303951  616192  292877 1053679  210358   24769 1651844 1613660\n",
      " 1584517  364529 1139920 1070785  236128]\n",
      "6\n",
      "train_indices: [1693 1047 5030 ...  916 6034 1897]\n",
      "x_train_names:\n",
      " [1553228 1514504  501569 ... 1624406   37731 1097670]\n",
      "test_indices: [5908 4395 2131  164 2695 3194 2078 6626 9260 4954 4367 3360 8731  983\n",
      " 7221 2009 4793   30 1369 2318 3470  503 9304 6650  684 9333 2431 8068\n",
      " 8006 6115 1576 9254 7805 1914 2528    1 7470 3959 7585 3717 2797 5241\n",
      " 6042 3115 1489 3527 5033 8789 7341  918 1559 1979 8571 7309 2235 2937\n",
      " 2427 1164 2792 6217 4167 4811 1982  730 6595 1589 7674  518 8416 8487\n",
      " 4303  875 7146  645 9163 7698 6747 8861 7072 4684 2084 5831 5696 1183\n",
      "  393 4817  637 1397 3204  539 4904 5202 3580 1974 3639 6160 5204 6913\n",
      " 2554 6576 6976  511 1740 6561 7917 6072 6122 2735 8605 1806 5528 4002\n",
      " 6779 6918 5029 4412 1132  302 1139 2992 8177 4798 9172 6028 4382 1159\n",
      " 8732 4987 5009 4628 3799 3232 4176 6071 8958 9091 4127  973 7522 8401\n",
      " 3473 4106 2367 4837 4103 1863 2188 3930 6617 6017 4272 6010 7137 8140\n",
      "  623 4649 6378 8639 1212 7331 3773 3020 8608 8437 9336 4752 7488 7110\n",
      " 7810 5707 3604 2497 8987 3827 4970 9036  469 4587 6757  380 3205 2812\n",
      " 6692 8271 7885 8811 4073 5764 5207 6325 7663  223 6076 3218 6518 6043\n",
      " 2029 1735 4337 2279 5431 8260 5721 6094 3123 2512 2796 4342 6099 6838\n",
      "  507 8155 1649 1832    3 7365 1746 5869 4297 9332 1955 1435  587 5117\n",
      " 3094 6340 2142  475 8912 2072 8628 6861 8532 2568 4816 7205 6429  450\n",
      " 5220 3590 2118 2689 2640 3763 2089 1789 3070 7565 4189 7413 6263 4635\n",
      " 7333 4190 4531 4396  402 2550  470 7654  190 8085 8431 3211 3886 5045\n",
      " 2648 3785 4927 3206 8985 6367 2549 1410 6635 1830 2335 5489 3057 9143\n",
      " 6311 5584 5614 7080 7280 5722 6805 4034  748 1928  635 8003 7462 9284\n",
      " 5514 5417 5868 8032 5462 1311 1398 2978 8322 4934 5303 7210 8162 5445\n",
      " 7489 8058 8130 7434 7709 2621 3059 1294 2893 3689 8409 4907 4990 6575\n",
      " 7841 9227 1055 2333  845 3535 3845 7705 2553 4409 4327 5887 5621 3344\n",
      " 4021 3811 6483 6049 5792 8329 9059 6186  719 4332 2371 5477 1279 2580\n",
      " 7748 7372 4230 7832  225  202 3995 5718 4289  628  122 2656  445 4148\n",
      " 2298 3088 4944 1084 9283 8818 8459 5495 8948 1699 4496  441 9072 1630\n",
      " 3144  114 1295 5058   19 6465 2984 1599 2774 8735 4781 9208 2348 2392\n",
      " 9125  759 9022 2474 6156 4950 9031 2383 1172 2723 7131 4631 8053  777\n",
      " 2660 6197  327 5827 3989 2704 7739 2836 2961 4365 9387 8997 3899 2243\n",
      " 2261 5123 7875 7518 3933 7279 7130 2035 9319 8203 5896 2492  714 5105\n",
      " 3806 4641 8378   82 4068 4852 5768 4818  559 1018  614 3256 6880 6956\n",
      " 2341 5769 7160 9263 5969 8222 4198 8107 8124 8970  160 4742  709 5103\n",
      " 3265 2676 2014 2639 4460 4440 2422  902 7655 2807   87 8951 1511 7274\n",
      " 3988   97 5713 1453 4933 4380 8819 4572  757  209 1367 7791 6548 8697\n",
      " 8553 5618 7005 2916  597 4967  184 3550 2166 4986 1056 7811 6453 7863\n",
      " 5641 7545 5751 6121 6559 1205 9217 8806 2884 4647 5579 7318  997 6648\n",
      " 5493 5601 8930  216 7463 6176 5501 2543 4411 3927 4775 2174 8847  351\n",
      " 6437 2710 6912 6881 5377 7527  713 1906 4589 3591 9395 1403 7388 7566\n",
      " 3803 4756 7771  618 6139 4279 5486 7715 8080 6695 1290 4935 4066 6543\n",
      " 4349 2602 6569 1562 6794 8128 1898 7714 7612 3469 7129 2098 1418 2938\n",
      "  420 5394 1659 2049 7593 8471  249 4276  698 1048 7353 5860 3054 9079\n",
      " 7904 9313 5322  896 7240 3277 7783 6324 9358 4876 8237 7696 4260 8379\n",
      " 2320  793 6119 6389 6708 5413 2271 3885 3671 1371 3675 7437 9367 9385\n",
      " 1474 6428 4511 2375 4522 1802 5604 2024 3432 5102 2481 7500 1081 9272\n",
      " 8708 2006 8868 3440 4074 5700 2101 2017 2998 7755 8565   13 3413 2488\n",
      " 8360  796 4883  330 6744  142 7325 7861 1691  364 4838 9241 8721 8542\n",
      " 2563 3676 4257 2683 9028 5264 8393 4800 4658 5067 8284 5247 2904 3756\n",
      " 3150 2834 8966 8579 5211 5986 8494 6148 8108 2935 3853 2115 3836 8158\n",
      " 4757 4824 7407 1348 4168 5010 8424 8018 6126 5554 5504 9408  844 4278\n",
      " 1938 7009 6924 2248 9373  609 3247 7275 6096 5615 7718 1461 7088 1253\n",
      " 4203  102 3746 8530 1843 6782 3491 1594 2485 4822 1989 6235 8297  769\n",
      " 8896 8872 6884 1314 5331  477 3555 5680 2242 5326 3929 3259 8040 7494\n",
      "  448 2111 2244 7930 5651 1571 3189 6252 4101 2664 4384 1732 4659 8533\n",
      " 9237 5437 2970  508 3161 4743 2706 1545 8311 5832 2222   72 8400 7580\n",
      "  608 9188 4621 5197 6716 6085 5306  887 7442 9013 3018 2108 8189 3542\n",
      " 8848 4316 4884 7838 4768 8979 7961 6464 2179 2957 6790 7849 8693 6788\n",
      " 2718 2586 1514 4390 1667 2690 1449 8902 4740  577 1225  588 7751 7973\n",
      " 1608 8110  374 5461 4569 3614  101 8557 8829 7492 1177 5388 3237  361\n",
      " 2262 3696  308 4672 5185 6829 2717 5472 5882 3859 4459 6334 3967 4895\n",
      " 9226 8504 1935 6301 8027 3203 9251 4175 4088 7483  510 9134 4451 1383\n",
      " 3271 5985  513 7306 3738 8748 2092 6181 4179 3621 8988 3347 4138 8185\n",
      " 3914 4518 8537  954 5828 4253 6803 5726 8013 5019 4948 2848 4722 6690\n",
      " 6319 1762 4296  932 1768  252  627 3690 3468 1387 1567 1065 2446 8683\n",
      " 6717 7589   93 1404 8801 7041 7018 1939  297 7809 4745 3110 7410 6059\n",
      " 6103 2236 1923 6471 3479  444 1152 5136 8564 6022 1101 3398 6011  131\n",
      " 6316 8103 4438 6170 4717 2164 1045 4679 6594 2085 3093  219 5688 4095\n",
      " 2944 4534 5179]\n",
      "x_test_names:\n",
      " [ 502467  230661 1547878 1295488  320069  271173  389896 1341060 1068168\n",
      " 1245819  383635  216001  386593 1645648 1550162  235562  670131  159406\n",
      "  241260 1295471  172551  221096  190742  428593   41052  316690  171842\n",
      " 1538553 1613332 1515233   99289  528677 1086313 1169319 1669464 1522376\n",
      " 1140876  337613 1085010  389971   70814  528790  542765  529305 1563382\n",
      "  314306  396013  417361   99803 1507685  475336  189434  528096 1319398\n",
      " 1580853  640901 1615768  644913 1592997 1508412  107951 1644927 1086647\n",
      " 1654993 1595902   72838 1180641  520593  234115 1278566  446288  249541\n",
      "  215609 1468254 1169217 1150950  138657 1639877  493707 1538499 1320347\n",
      " 1069692 1284782 1275091  545122  500383  280255 1567295 1512400 1517792\n",
      " 1629712 1584190 1675393  322223 1655961 1086448 1605792  160016 1497038\n",
      "  358240  146617  160008   84973   74337 1637028 1659778  654503  376572\n",
      "  449566  508027   73412  307900 1554808  142345  148614 1549431 1524695\n",
      "  469374 1093869 1645486  176419 1647458  360266  666676 1520103 1649148\n",
      " 1584396  284497 1612050  234854  462442 1636529  493698 1176458  335523\n",
      " 1652352 1503806 1180750 1665365 1252581  453241 1640180  418491  284775\n",
      "  504510 1524736 1301195 1091268  326370 1456860  320801  323203  247442\n",
      " 1382295 1630572 1313217  460916 1168418   86826 1311190 1346843  282610\n",
      "  100071  133189 1214955  433623  151752  571254  290681  641503 1520475\n",
      " 1067202 1571395   93878 1084050 1648561   38413 1631783  177889   76388\n",
      "  544855 1556413  513945 1324676  352446  329212 1092083  717023  489399\n",
      "  466098  317356 1552218  544596  520812 1655504 1376903 1608454  282332\n",
      " 1315799 1284707  449822 1169428 1551613 1594195   98816   82857  107432\n",
      " 1313331 1663905   41421  396823 1532422 1603278 1180681  551978 1540371\n",
      " 1137658  654619 1171361  220774  186239 1315197  181655  294461  221217\n",
      " 1655079  211210  197727 1647485  101561 1649356 1592754 1100314 1333137\n",
      "  463625 1068076 1305163 1171393 1096192   40596 1273696 1298656 1551982\n",
      " 1311275 1659152 1321197  394436 1405271  334996  173352   81738  261928\n",
      "  465061  137970 1506416 1085690   50264 1582904 1144642  208663  215435\n",
      " 1319969  424584 1053152  482051 1675007 1339245 1079991 1596432  386374\n",
      "  354412 1647852  366115 1667277 1649405 1301098  450448  650709 1567899\n",
      " 1157900  110364  159468  463225  466949 1615065  101233 1165603 1306840\n",
      "   92498  280978  116488 1335503  472739  469504 1596842 1624616 1559388\n",
      " 1607627 1170798 1594332  280291  235569 1517242  414653   72795  463276\n",
      " 1094230  102840  326445 1124447 1334613   29147  515404  345476 1516166\n",
      "   78273 1058325 1140461 1366249 1337152  404197 1174732 1180577 1097371\n",
      "  220775  451343  272782  279948 1088947  117703   73464  211742 1515125\n",
      "  211254 1591548 1563147 1643900 1067122   92568   41084 1093377 1331143\n",
      "  118034  117797   73286   76513 1634346 1412382  233429 1333653  524547\n",
      "  479433  306607 1126915  371560 1645293 1549260  511953  209945  343711\n",
      "  600541 1679120  334694  106987 1551693 1524835  218786 1646692  435724\n",
      " 1401260  532345 1609755 1128475  546714 1556979  544421 1316907 1561502\n",
      " 1608273 1624418  284859 1120997 1555719  674611 1072474  208363 1515254\n",
      "  108362  162040 1336914  336467  433810 1302876 1327870 1387409 1395725\n",
      " 1300193 1051253  985334 1606341 1616299 1091942 1556495  100509 1654981\n",
      "  172546 1514453 1597450  524951 1549951 1529194 1675706 1491776  549226\n",
      " 1527252 1053870  175657 1460006  506573  320185  341769 1303089  338039\n",
      " 1174746  397066  515976  461510 1593166 1454151 1315547 1272628 1582150\n",
      "  318784  520253 1180566 1082490 1161684  137024  102728  545471 1576439\n",
      "  404476 1647610  320006  346961 1070790 1050576 1644014 1522833 1069893\n",
      "  284661 1332131  317640 1327888 1518535 1205215  250513 1670771   83746\n",
      "  432407  235444 1540356 1314580  107544 1099133  394691  248645 1595428\n",
      "  493701 1060826  467637  248090 1615053 1413351 1068137 1549934   20829\n",
      "  343043  411859 1539172  320106  471650 1539875  495405  248409  601093\n",
      "  235676  184147  388083 1674574  232655 1671346  118602  488282 1339910\n",
      " 1645227  171460 1653928  398302  323483  111305 1128271   19320 1145487\n",
      " 1552571 1155927 1538318 1610130   76713 1556830 1361736 1677261  215981\n",
      "  316778 1316344  502470 1595820   70053  160242 1589377  419597  285102\n",
      "  544503  460584  549597 1239205  235645  476929  543820  148729 1052902\n",
      "  286328  498474 1376561 1160159 1597069  118832  229329 1319481  289489\n",
      " 1097425 1337725  221385 1654657  324402 1495019 1557227 1510984  366843\n",
      "  280963   67262 1070639 1613885 1238970 1644089  346936  492448  320287\n",
      " 1540656 1612059 1548987 1596340 1496880 1353693  522261 1149938  161437\n",
      " 1160612 1302797 1076478  117731 1146478  544499 1610242  586165  102575\n",
      "  335186   75448 1174501 1409516 1577755 1646736 1304155 1624105  202364\n",
      " 1499601   76712 1316663 1053941  162445  547892 1155782 1300170 1319471\n",
      "  545536  172560 1097410 1645804  162077  442984 1643286 1307810  292664\n",
      " 1589843  542350 1258484  173164 1351065  326245 1496884  381634 1616559\n",
      "  156154 1613001 1083106  156142  336556  448534  282171 1627859 1329314\n",
      " 1289290  284540  263399  488195 1517899 1326124  631202 1305204  102808\n",
      "  549884 1654191 1298636 1170763  277780 1531369 1325928  448139 1595005\n",
      "  154152 1137418  351995 1544667  217814 1095345 1138176  276825  481697\n",
      "  538822   92803 1583252  335386  280380  210562  476721 1350454  518820\n",
      "  249886  113093  588121 1097197  383788 1550924  346271 1593948  119624\n",
      " 1595850  336982  118956 1587845   13825 1539370 1052522 1518416 1358278\n",
      " 1601688 1601334   73550  162140  211988 1277938  362297  167840  113905\n",
      " 1158277  194529  481402 1655726 1306442   73042 1504167 1131881 1423534\n",
      "  172523 1608904 1502893  228427 1458986   76219  155817 1337561 1180690\n",
      " 1500396  539461  171188  346713 1089441 1170720  517598  331734 1350694\n",
      " 1284665  325322  282729 1159155 1645841  320511  554147  373249  334807\n",
      "  317971 1553179  137974  475676  278525  276590 1517058 1149619 1321230\n",
      " 1609371 1347064   26064  318870 1180187 1662726 1583029 1671675  434520\n",
      "  328624 1538830 1614347 1584680 1628555  268078   73200 1096178 1071162\n",
      " 1058469  611516  429955  334570  446351 1053547  359729  535445 1413269\n",
      "  458700 1175806  549191  235356 1593575 1070785 1275529  529345 1453000\n",
      "   41012   75876  115567 1163597 1660625  460266 1224038 1589291  319918\n",
      "  714184 1658330 1299308 1624564 1300103  276983 1096120  470246   44423\n",
      "  118692 1152754 1433614  322956  273720 1093905 1327280 1648358 1522330\n",
      "   97452   76009 1097863 1522129  159886 1067141  528195 1504520 1538271\n",
      " 1310879 1519356  362820  389725  435483   86625 1607111  249373 1331975\n",
      " 1329292 1480170  234315 1467407  335119  276787  460861 1169292  481083\n",
      " 1051574 1556353  273063 1505800  501347 1325405 1515852 1640556 1180441\n",
      "  546045  275356 1531459  317911  118814  135739  496655  197884  359287\n",
      "  319660  230663 1158436  444774 1639173   77160  358506 1284909  318851\n",
      "  200466 1601144 1137646  396077   17412 1145927 1054039  101996 1052622\n",
      " 1120717 1096956   70025  196993  396670  532061 1632184 1332648  431462\n",
      " 1639826  320606 1053984 1345864  519656  237316 1649144  543777 1087794\n",
      " 1665863  325807  471825 1067398  468100 1289145  387868  361259 1655400\n",
      " 1525124 1518777  238834 1144250 1529231   20487 1597582 1348793 1303108\n",
      " 1291369  471168   43751  495716  188089  542954   32907 1065765 1665885\n",
      " 1326614 1347740 1168760  499905 1099112  183488 1567036  284653 1335416\n",
      "  190028  183932   81377  259623  173277 1579297 1345846  334775  499524\n",
      " 1071604  119090 1279804 1094049  420922 1596982 1093718  280283   83451\n",
      " 1612705   92408 1321106  237685 1557231 1549943  314952   74250 1594999\n",
      " 1611845  282222   64604  537947 1554139]\n",
      "7\n",
      "train_indices: [4279 3110 5709 ... 6310  826 7657]\n",
      "x_train_names:\n",
      " [1070639  284653 1291040 ... 1652701 1601581 1126685]\n",
      "test_indices: [2694 1824 9173 5822 3370 4351 5234  613 4077 6976 1107 5878  307 4666\n",
      " 7528 7502 4655 7881 9292 1475  372 5694  701 6744 4933 1866 5280 9010\n",
      " 4469 6082 2198 6693 1026  174 2355 4861 8723 7414 6266  721  546 8872\n",
      " 6561 6134 2077 5283 2664 2362 3846 1700 7276  784 6065 1344 6484 7654\n",
      " 2631 9180 6650 2278 1720 8544 5980  882 9154  249 7139 3632 6741 2766\n",
      "  331  906 9295   66 1108 7205  911 6704 3054 7640 2416 3442 1314 6498\n",
      " 5619 4023 2209 4084 7346  720 1883 2322  192  633 6941  293 1925 2672\n",
      " 4994 3750  529 2682 2997 6661 7518 3710 4465 6366 5026 9222 5031 3810\n",
      " 4110 3429 7253 6013 6568 1672 6505 2393 1673 6070 3030 4315  968 5340\n",
      " 6615 9353 4065 6645 8183 7167 9190 4380 3048 4542 5438 6544 9354 5151\n",
      " 1014 9184 8291 5998 6145 7527 2130  290 2179 8597 1299  453 3646 5879\n",
      " 7887 7659 4440  528  619  931 9023 2794 4583 6803 4990 9053 4252 4509\n",
      " 2744 8573   79 2427 4278 6269 3587 9043 2684 4541  885  680  636 3574\n",
      " 3697 2471 6640 5367  561 7297 8586  371 8954 7032 8260 5470 3447 5364\n",
      " 1391 2106 4729 8070 4761 9313 8973 6734 2435 5555 7151 4600  238 3568\n",
      " 8876 9279 3171 5208 5945 6399 4597 4620 3047 7477 5661 7989 8829 2817\n",
      " 5719 3307 6675 7895 2583  422 9314 6018  392 3273 5075 4372 5798 6043\n",
      " 6960 7980 5303 2238 9404 6486 4073 5821 7008 5662 5535 8261 3462 8525\n",
      " 4504 6246 7775 8996 5653  635  840 5509 5332 7558 7184 5299 5458 9055\n",
      " 8248 9052 4184 5124 4263  405 8826 1516 8842 3459 7729 2759 3372 1293\n",
      "  988  774 4925 6722 6242 1813 2984 4569  567 4796 2224 6630 6150 5185\n",
      " 4388 2673 5512 1453 5107 1789 2058 2920  926 5623 5478 4689 3647 5773\n",
      " 1006 6128 9268 7765 2099 5991 8731 4621 2474 5215 2787 2331 1822 2529\n",
      " 3118 7340 2486 6775 1407 7399 3701 1190 7077 2255 4894  577 6398 8309\n",
      " 4790 5669 8681 5691 4779 4035 3822 8296 3076 5698 3783 5132 1991 5946\n",
      " 8156 7829 6170 4880 6252 3482 5852 8726 2407 5736 3909 5630 7594 3652\n",
      " 4508 8902 2815 4402 1831 1184 8028 2617 5666 5150 2702 7512 5644 6913\n",
      " 9281  820 6984 3211 6957 5088 6940 9063 5801 3521 3154 9207 5258 6929\n",
      " 8022  220 7675  558 9021 6807 3518 2158 4322 3691 2741  674 6668 7756\n",
      " 9146 5057 8776  767 6459 2447 8625  967 5312 2225 5411 6777 5779 8276\n",
      " 6371 7374 4289 7914 1059 3280 2960 5868 8163 6409 7719 2457 8180 5148\n",
      " 2561 3635 8766 4156 9398 1334  522 1291 8193 8821 8701 7643 6730 2745\n",
      " 7439 1735 5432 5524 3856 8128 2013 3552 2958 4325 6362 5735 1778 8104\n",
      " 4624 3694 2739 6158 6059  350 4395  770 4336  205 2733  377 8748 1396\n",
      " 4507  325 7844 4186  203 5600 9287 4733 3917 7271 2245  263 2297  114\n",
      " 4478  654  317 1186 3730 1924  228 4064 7377 4944 5421 6127 5659 3820\n",
      " 7624 3195 9135 1686 7392 2595 1757 2080 5505 5539 3604   51 6904  712\n",
      "   10 5439 4347 3437 2000 4622 4082 4030 9352 2422 5580  997 6485 2871\n",
      " 1260 5942  939 6347 4005 2477 3940 8413 3832 5157 3713 9282 3258 1157\n",
      " 8007  861 6594 8487 6581 6466 1526 5997 8566 6102 2876 3470 3269 6501\n",
      " 6165 2605 5112 8460 2632 3083 4691  637 2273 1137 3855  342 7155 2305\n",
      "  594 8000 8610 8740 5374 4515 6946 2431 5939 2500 9092 5385 8313 8863\n",
      " 5398 1557 5328 6390 5256 1911 7712 5085 6443 8014 8178 7053 6038 1961\n",
      " 8154 4636 1171 1927 7332 8176 5925 7759 7403  763 7554 6678 8901 8609\n",
      "   14 5327 8897 6196 6552 9035 2071 6909 7043 4855 6632 4421 9060 8511\n",
      " 8674 7588  854 1221  357 9260 5941 4254 8570 7474 4849 3528 8135 5905\n",
      " 8908  521 3018  747 8975  744 1425 9220 3744 3300 2455 6801 6391 7416\n",
      " 6806 3333 4405 1188 7801 6453 8376 6520 8817 4017 8390 2640 2993 6104\n",
      " 3777 8348 6058 8433  468 8198 3583 4992 9385  339 3550 4681  287 6828\n",
      " 1117 5325 5082  865  761 6680 5916 5486 7617 1739 4793 2438 8017  389\n",
      " 4443  990 7067 6255 6958 2601 3872 8799 4984 1884 2777 7092 4237 4851\n",
      " 3933 5682 1067 3922 5760 8088 8407 9189 2361 1948 5113 8344 6654 6813\n",
      " 3469 4284 3530 2655 7990  764 8950 2113 4546 3980 1815 1662  605 2955\n",
      " 6326 3376 8961 5090 3250  258  514 8832 6330 5099 8205  332 1599 9097\n",
      " 8273 7263  766 8792 1733 8311 7850 4588 5680 2602 4463  330  759 5648\n",
      " 5485  638 7936 3494 5828 5080 6323 3426 8281 3089 8614 8710 2609 4042\n",
      " 1061 3341 9011 4730 2925 8150 3217   90 7442 5556 2319  134 6906 2195\n",
      " 9083 4854 3708 7738 7313 5770 5156 3237 7885 1882 8249 1153 8535 6509\n",
      " 3877 4603 3572   15 5068 5201 5732 1218 2163 7568 4760 7782  401  873\n",
      " 8756 6844 3603 4811 3016 8197 7404  463 3130 5937 3627 9165 7052 6966\n",
      " 8336 8405 3066 2648 6026 3137  822  292 4369 4537 7883 4481 1471 2825\n",
      "  800 6867 9246 5198 3361 1398 4650 5602 4439 7924  916  944 3509 8568\n",
      " 4813 3011 8258 4088 1885 7019 3155 4300 5793  470 3889 6922 5567 1840\n",
      " 2652 6994 3678 7066 8242 5948 1156 2070  864 4423 2460 9006 2068 1600\n",
      "  355 4599 7757 8761 3297 6876 2374 9223 4826 7851  571 8734 8194 3779\n",
      " 6433 8067 2919  428 2218 8015 4696 7453 1902 5750 6925 1880 7370 5433\n",
      " 2403 4753 8145 7389 7835 1152 6522 8878 2752 8303 1706 8793 1921 2667\n",
      " 6003 1906 2828]\n",
      "x_test_names:\n",
      " [1582215  337629 1309548  492110 1311869 1530816 1615130 1052767 1300216\n",
      "  146617  216088   91907 1161166  263604  517383 1496629 1328574 1184455\n",
      "  334334 1096298  316712 1594636 1313170  538822  320106  482250   99781\n",
      " 1623858 1602450 1656008  241284  160373 1608638  215873 1601684  230655\n",
      " 1284911  427890 1303768  482242  160173 1609371   74337  234409 1643250\n",
      "  114374  446351   75223 1303497  492931  434384 1303050   76735  175197\n",
      " 1589835  208663 1626651  369716  428593 1512114  161980  323182  374128\n",
      " 1326201 1554104 1577755  278998 1603437  230578 1582639  406808 1513670\n",
      "  420270  224052  506561 1068076 1567420  161341   76712 1062453  115104\n",
      "  543007   26064 1592750 1540389 1639986 1596279 1492890  326170  493609\n",
      "   38538  548532  323515 1540635 1156134 1523299 1669235  209397 1611107\n",
      "   27573 1129768 1540502 1585109 1579945 1174746  128375  543670  386247\n",
      " 1505820   70963 1140986 1567280 1153742 1529188  279715 1589602 1084693\n",
      "  255902  334589   83277  106744  387952  542834 1175000 1594417 1608233\n",
      "  381992  371779  161859 1671735 1097870 1351059 1499052  471650 1309345\n",
      " 1669446 1137354   71753  474868  138242  263880 1349061 1454416 1251361\n",
      " 1052644  229329 1284718 1170087   97452  486297 1603668  364529  321509\n",
      "  116707  555051 1526615 1595428 1330103 1582091 1097876 1423892 1566995\n",
      " 1097489  325807  404197   70713 1550628  318529 1492936 1308397  512754\n",
      " 1615768  155817  531533 1610426  161094 1583849 1609744  256259 1170862\n",
      " 1315593 1508942 1553650 1594843 1120982  499869 1517777  382921 1672609\n",
      " 1492104  183983  471706 1169428 1538253  215055 1585063 1313814   66190\n",
      "   37688 1594528  236194  162445  146230 1530512  542591   18886 1201670\n",
      " 1090696  410866 1582334  282591   73466 1515281 1681773   66619 1164470\n",
      "  195570 1583232 1101679  248160  333460 1656130 1556353   10940  320833\n",
      " 1581793 1665640 1539337 1556653 1529129  249947 1098104   29301   76183\n",
      " 1660153   74369 1520508 1376903  389507 1325243   72795 1145040 1272819\n",
      " 1348297 1092083 1582462  181727  114171 1517897 1318774  270926 1619111\n",
      "  210007 1067185 1140571 1335167 1507716  116488  337764  482537  326141\n",
      "  226579  317277 1529067  433310 1317853 1323596 1564734 1326059 1170636\n",
      "   76523  549138 1296663 1538923 1582899 1311211  141421 1522451 1076522\n",
      " 1176479  364940  317514  126223 1176551   33789 1590812 1072474  460861\n",
      "  528648 1644023  532183 1656640  546826 1531459 1576576 1584549   67320\n",
      " 1539172  110916 1321197 1524674  259388  524541 1502358  170699  394430\n",
      " 1496872  334422  385556  116486 1328553 1466658 1650001 1513815  386593\n",
      " 1589291 1395725 1523998  179899 1580056 1549841  498643   73218 1144322\n",
      "   86479 1539387   92574  269397  211948 1170883 1520148 1582078 1396932\n",
      " 1607111  318061 1298225  177921  160418  102788  497449   39620  194780\n",
      " 1142544  510267   95774 1098058 1507788 1179820 1130246  498545   77642\n",
      "  448297 1612705  545705  429955 1316283  108618 1600734 1651787 1052898\n",
      "  314953  262394 1394627  211903  528215  435483  196379  223107  118399\n",
      "  549477 1296369 1595255 1432843  387622  315166  176610  325972  160016\n",
      "  214993  172341  315907 1053152 1556168 1290205  336055  485754 1292920\n",
      " 1076492  467482 1298616  282280 1598231  383237  491981 1331115  471182\n",
      " 1375954  204822 1159903 1141711 1567832  202454  369207  238974 1074294\n",
      "  356003 1315790   37540 1155817  118404 1591682 1622238 1539852   12143\n",
      "  320377  157734 1665832  318268  458377  235256  172528 1607893  209945\n",
      " 1278542 1084953  498184 1595288 1559388 1317907  527768 1409286  659082\n",
      "  284955  345658 1287717  403136  472714  519661 1495729 1317749 1613197\n",
      "  114148 1221558 1587849  358237 1565052  317917  115652 1141123  282332\n",
      "  355540  160905 1556433 1149938 1157457  335868  493426 1510981  271475\n",
      "  217669  542653  315037  346238 1625160 1552129  172473  190028   41332\n",
      "  230661  222332  167625  377291  395430 1538841  396670  102944  210477\n",
      "  404715  149196  147825  257471  259756 1298455  432815 1330548 1067151\n",
      "  535929 1647505 1583652 1624418 1170789 1073011  458017  147935 1578247\n",
      "  114102  455695 1615307 1299266  218786  116788 1085075  655113 1180425\n",
      " 1583285 1097518 1330917 1169234 1624967  527775  314151  340953   66743\n",
      " 1159266 1520475 1170949 1530412 1603442  322619  334835 1515159 1299654\n",
      " 1303693 1646919 1612645  238122  106745  493701  334315 1595820 1140162\n",
      " 1550091  228558  547019   35637  161087 1296731  354363 1660104 1566700\n",
      "  335007  542610  515254  346029 1592204 1595986 1640902  321423 1549943\n",
      " 1278566  523396 1524337 1671224 1614144 1179210  412432 1603213  172551\n",
      " 1584271 1054091 1497643 1082127 1593275 1406948 1508386  684085 1589595\n",
      "  280255  523621 1223993 1313169 1343345  492288  165987  345630 1447870\n",
      "  839481 1342519   48908 1580043  474934  171842 1129777 1089695 1654007\n",
      "  337813 1653919   81903 1573659 1351337 1499335 1180711 1133815   69866\n",
      " 1062626  284543  385691 1310574  189401 1662885  324113 1535486 1458805\n",
      " 1531257  119027  310094 1505303  161875  501176 1141107  487266 1321138\n",
      " 1168443 1070797  393096  460415 1310676  384386 1343773   94320  482893\n",
      " 1648115  315921 1347382  503836  515821 1523217 1495264  148415 1242040\n",
      "  392687 1645605 1624975 1327434 1646570 1068168  295375  434957  217983\n",
      " 1609489 1551946 1191027  498476 1302564 1563015   79559 1096120 1563579\n",
      "  380235 1514488   66605 1677787  173121   99993  363618 1640005   91449\n",
      "  138168  460005 1540453  259810 1061622 1602630   19320  516017  537077\n",
      " 1176444   81243 1478289 1551982  244991  241219 1159469 1399737 1581909\n",
      " 1139656  173180 1556161 1605600  337651  156142  490658 1653928 1058855\n",
      " 1351206 1052869  357008  529044  160268 1520131 1651939  194773  284075\n",
      " 1613885  129781  398040  670131 1671127 1629150 1319231 1642555 1513652\n",
      " 1140499  221394  528725  318858 1320194 1179999 1312113  547399  516204\n",
      "  284694 1608743  167688  397066  430926   69889 1097770  167846 1504226\n",
      "  214781 1397217  529094 1318384  549919  506617  102645 1556488 1076478\n",
      " 1597023 1513120 1548306  372897 1075956 1251601 1656859 1160501  519766\n",
      " 1557325  317128  325532  430896 1544756 1650579  499064 1506528 1170863\n",
      "  101986  535120  151889 1563185 1300090 1554712  487239  208363 1529874\n",
      " 1473863  277208 1556217 1347137 1540516 1453000 1544081  460734 1583029\n",
      " 1596340  255976  481697 1327870 1612161  326717  159873 1669366 1098617\n",
      " 1087794 1538269   82217 1524743 1576148  107460 1332480 1089899  114138\n",
      "  102983  460307 1653924  206737 1312344 1522273  364178 1068105  149179\n",
      " 1300103  200745  543186 1085012  216081 1344827  460115  130158 1315061\n",
      " 1443153 1329035 1498673  543606 1325405  352446 1336954 1347286 1281157\n",
      " 1624546 1556543  173137 1569037 1611849 1512891 1653868  318384  434153\n",
      "  320814 1128143 1585790 1592998  533668  200446  215623 1098026   65779\n",
      " 1640288 1644927 1609412 1550972 1515286  520827 1180660  495525  325958\n",
      " 1592509  401606 1554286 1180695 1665690  344924 1339245  326653  270648\n",
      "  317631 1563298 1280894 1597298  146842  332731  115560  410805  128456\n",
      "  230549  324168 1551624 1320740  280291  180450  115772  383461 1649676\n",
      " 1624406  210022 1192364 1650318    9401  433491  548802 1137646 1647366\n",
      " 1508392 1595510  118529   66997 1144642  416925  320858 1556498 1568361\n",
      " 1515798  494197  428607  173437  334836  326527   71211  419854 1538979\n",
      "  118817 1286269 1277289  161993  527337   71113 1303994  479452  177364\n",
      " 1299393  354913 1309631  136995 1611999 1556496  461009   26437 1318491\n",
      " 1326101 1099733 1428959 1647724  547748  106294 1328610 1628960   72858\n",
      " 1663437 1564516 1089248 1227551  545123  107457  317529  325793 1653364\n",
      "  411504 1589684  334775  241564 1070124 1076469  139165 1543627 1608483\n",
      " 1061352  277182  310329  289489 1180659]\n",
      "8\n",
      "train_indices: [3491 9163 2218 ... 4867 5850  535]\n",
      "x_train_names:\n",
      " [ 317971 1169217  106294 ...  419949  549915  383476]\n",
      "test_indices: [3941  953 8754 5481 6135 8986 8767   37 2900  474 7096  373 2742 3651\n",
      " 8933 6519 7300  712 5554 7015 3879 3380 8393 7953  458 8838 3369 6896\n",
      "  336 4346 4838 6310 8193 6830 2447 7392 7118 4629 6652 2344 3280 6008\n",
      " 2402 6744 2272 1613 9228 3119 4259 3165 7766 2798 5441 8959 8787  881\n",
      " 5256  200 5379 3995 6816 1868  666 6517 9010 9303 1356 2479 2538 2148\n",
      " 6449 7477 7536 1304 1043 3916 1553 3542 8387 6973 2977 5519 6202 2797\n",
      " 4692 8688  717  517 7686 2624 8036 6715 7042 7009 5939 8442 4280 8083\n",
      " 8305  613 2686 2707 6701 7371 9084 7409 5062  316 7264 7806 2785  868\n",
      " 8205 1017 4149 4020  270 7563  918  587 8790 3504 2926  222 6982 5119\n",
      " 8380  497 8407 3411 3384 7883 6195 5661 4051  920 3906 8979 8122 4942\n",
      " 4057 5238 8446 4717 4378 2954 4956 6723 8401 6197 5938 2936 1845 5904\n",
      " 7878 4567 4154 2905 3412 1400 2123 7119 8326 7090 8615 1313 5453 8423\n",
      " 4431 3897 8194 2236 8904 4418  958 3314 1838 5099 1387 4799 8406 6011\n",
      "  947 9112 6344 7665  460 5526  267 3254  463 3244 8139 4272 6514 5215\n",
      " 3456 2515  223 1782 3072  781  119 7291   71 5387 1248 6286 5845 8427\n",
      " 3110 1425 1363 8702  649 4483 9392  272 6788  383 7928 7254 6585 6768\n",
      "  893 2973 6750 4713 4371 2645 4104 6560 7138 8943 2442 6434 4064 1357\n",
      " 9320 5687 4913 5031 4014 6932 3464 6541 2906 8949 3033 4649 9144 6399\n",
      " 3754 4215 3788 5030 8259  833 2429 2179 1003  702 8360 1579  160 5147\n",
      " 8879 8323 4421 1659 5599 8662 7187 1662 6348 1473 5325 5628 4281 7489\n",
      " 3938 8616 3084  792 1718 2028 1731 5975 4953 5032 5754  603 8741 6354\n",
      " 5878 8637  242 8375 5548 8433 2391 3083  232 2034 4657 3801   52 4315\n",
      "  219 5855 1214 1961  807 6395   78 7175 4114 6774 6561 1182 6556 1634\n",
      " 1599 4159 7141 4356 8292 8207 4265 8877 8932  295 3586 6687 7840 6786\n",
      " 1432 8307 5814 5679 3134  802 5174 7567 3242  374 2620 4784 5643 6912\n",
      " 7780 7376 2493 4236 6160 4638 5231 8131 6304 3148 1066 7487 7088 6862\n",
      " 3415 4406 9375 4973 4144 4962 2659 1793  539 3710 2508 7932 8468 1879\n",
      " 3957 5461 7845 6105 7915 3300 7249 4600 6609  410  598 3821  879 1414\n",
      " 2366 3276 3856 4547 4848 6813 9176 8369 3567  530 9370 3062 3921 9127\n",
      " 4145 2024 9192 7374  971 4408 9294 1884 6964 3226 7424 5510 8322 5464\n",
      " 1765  416 7814 6051 3029 8880 4570 3600 2274  648 6499 8795 2151 3448\n",
      " 3279 1495  580 1052 9346 1639  341 3457 3744 9333 6844  209 9378 1606\n",
      " 7298 6985 4690  512 3378 1573 5641 5994 1155 4718  544 8367 7712 2204\n",
      " 8044 6998 2108 5114 3132 6650 4214 7181 1741 7872 6240 7683 6065  464\n",
      " 8997 8171  709 1339 2480 9209 8952 1537 8466 1986 2147 1298 7875 8939\n",
      "  795 7457 6931 2732 3753 1370  557 6386 4439 1040  244 5268 3953 4579\n",
      " 4632 2527 6035 9060 5122 8143 9181 2846 1608 8445 3852 3467 5533 6497\n",
      " 1503 6522 8812 5038 8626 9031 7849 8882 2983 7490 8494 6516 8286 2349\n",
      " 2328 6174  149 6976 2001 2066 6918 6447 1743 2239 3265 1933 5133  395\n",
      " 8291  116 4829 8611  846 3892 1652 4193 1864 4761 4855 8267 5889 7854\n",
      " 7755  948 2922 8988 6754 2270 5763 2153 3286 3418 6360 5416 9171 4954\n",
      " 7610 1013 2522  850  372 6582 2790 1759 3851 7243 6846 5996 8890 2490\n",
      " 1519 4806 9283 4311 4920 1907 5093 3091 5007  822 2874 5392 6574 2205\n",
      " 3827 2740 5517 7558 4241 5703 3747 2637 4930  662 5127 7783 6015 7586\n",
      " 8287 6811 9150 2144  194 9004  826 9006 7296 8370 9201 5162 6535 7025\n",
      " 3693 8562 7805 4309 8747 4362 2475 6119  344 4462 1559 5190  137 5873\n",
      "  551 2096 8759 7632 5091  994 7835 5004 8114 1004 6617 4510 6548 9039\n",
      " 3257 7288 3282 1997 6024 9338 7873 6180 4133 6927  758 9021 2364 2326\n",
      "  256  346 6179 8435  386 3902  978 8339 8106 4937 3823 8826 8769 8551\n",
      " 5264  592 6916 6003 5728 2953 2725 1027 4101 2070 4999 3546 4633 6987\n",
      " 7654 6201  324 5072  866  370 4033 2884 4534 8884 1249 6242 4170 6456\n",
      " 5057 1216 3525 2649  538 5827 3120  321 6558 6069 8013 8801  520  218\n",
      " 2213 3597 6099 7380  480 1511 1023 6339 5654  382 9206 1186  429 5723\n",
      " 5917   67 7603 3551 5346 7508 9032 2592 4176 1920 4607 9177 3764 3316\n",
      " 2920 8329 9233 4987 3115 7061    6 2088  623 2848 4062 9154 3789 2657\n",
      " 1571 2911 2678 1187 9265 7130 3858  478  492 7988 6937 8874 1268  111\n",
      " 3038 6940 8382 7074 3312 9199  882 5181 7993 7697 9326 2991 7858 4504\n",
      " 4025 6428 2791 3648 4593  129 3952 7148 1605 6703 2111  985  417 1175\n",
      " 1903 3593 1910 2788 8651 8791 3680 3811 7170 7455 8654 5077 3854 2654\n",
      " 7197 8856 4877 4617 8294 4018 5001 2042 9383 6551 5615 6238 3932 6729\n",
      " 8010 7383  798  843 5701 4996 8447 6313 5709  974 1095  502 7771 5362\n",
      " 2248 1305 6809 3511 5199 4292 9069 1567 7037 8094 9270 8020 5822 5951\n",
      " 6387 8923 7349 5027 2990 1664 3344  366 6264 2020 2519 4382 6095 1715\n",
      " 1991 5937 8689 2694 3207 3074 2744 5691 7473 1480 8486 5864 2092 3045\n",
      " 1717 1768 7987 1889 7273 5411 2295 1115 9024 5985 8967 5211 2499  513\n",
      " 5414 2859 4601 1781 4340 1491 6294 7217 8311 7965 3949 6167 3907  130\n",
      " 3350  536 8037 7123  427 3082 4442 2082 8620  147 9367 8415 3237 5069\n",
      " 8630 4556 6300]\n",
      "x_test_names:\n",
      " [ 527585 1642687 1539414 1612993  334502 1553790 1088437 1311840  358217\n",
      "  464649 1061741 1180651 1318140  100734 1314262 1611312  475289 1603442\n",
      " 1502893 1551939 1517882 1158413 1593948 1058330 1569116 1319137 1069674\n",
      "  118400   68306  547498  476721 1652701 1221558  319741 1622238 1624967\n",
      " 1496394  286165 1670749 1644416  498184 1288895  195329  538822 1647720\n",
      "  103389 1329488  627340  240183   72961 1490992 1627617 1085272  366824\n",
      "   85501 1529260 1133815  531022 1670961 1549260   66251  240285 1553446\n",
      " 1666444 1623858  172892  161316 1086662  548150  235821  529281  248160\n",
      "  161674  343307 1096195  113975  320601  118692  172665   73005  322970\n",
      "  186658  314599   70814  471069 1298275  531149  320875   93084 1628237\n",
      " 1096718 1316875 1658884 1180690 1129777 1334357  318614  353918  482567\n",
      " 1052767  340060  482397 1539301   28591  548463  270751  433970  437688\n",
      "  320676 1378219 1338273  116694 1554712 1158838 1303563  430870 1090817\n",
      " 1309050 1507685  181655  607418 1332465  195531  472762 1567421  357509\n",
      " 1315505 1127510  214781 1573381  310527  146842  173468  333460 1647805\n",
      "  386816  318470 1327280   72872 1582469   69787  499606   38466   92408\n",
      " 1494333 1160638  397087  326547 1252581 1597450  200937 1556177 1157891\n",
      " 1550488 1096045 1671944  471181 1650736  358261  148331  325363 1053545\n",
      "  396422 1506501 1385825  491735 1157798 1414908  549473 1654477 1318491\n",
      "   81377 1140220 1584517 1538956 1152441 1329103 1300090 1291369 1611587\n",
      "  197900  420922  118146 1510804   81861  387863 1497568  471406  229818\n",
      "   92915  520827  357656 1365268  320801  179186 1523998  106327  547853\n",
      " 1552218 1344959 1320562   72923 1539578 1557285  472738  408623  282613\n",
      " 1649297  467355 1647969  284653   66605 1583254 1122568 1608337  547378\n",
      " 1563800  178837 1067141 1061717  387777 1538487 1096331 1620381  366211\n",
      "  510543  318627 1545009 1319803  507873  383406 1649189 1304554 1642827\n",
      "  129656  522190 1615307  544959  269762 1654886 1099134 1140986 1058407\n",
      "  299230 1513106  282180  535892 1166111 1180587 1313217 1169517 1164470\n",
      " 1541160  284386 1611060  501569 1097716  429962  282891   97452  268880\n",
      " 1139111 1095345  316399   83746  173492 1204892 1580710 1495264  335186\n",
      "  376511  383792 1613670  317128  419786 1554285  529044 1285882 1601424\n",
      "  326445   81535 1424838 1588124 1582426 1514365  544328  390358  535409\n",
      "  255899 1300220 1583415  397250 1403505 1629144   91907  600955  431572\n",
      "   80413  102321 1139656  386066  684085 1056746 1653879  535745 1597586\n",
      " 1613497 1175000 1594999  419375 1577662 1535486 1593087 1301194  278980\n",
      " 1510789  108576 1094231   74337  373694 1330814  544742  208363 1336229\n",
      " 1180529  393717 1509029 1671881  458748  504781 1304961  196214  337752\n",
      "   77833  520314  490807 1339016 1174603 1058247 1592441 1654589  481278\n",
      "  319750 1579148 1314447  335119 1644910  460572 1508643 1160159  364355\n",
      "  156567  114326 1450077 1086448 1527259 1624284 1341191  279278  255805\n",
      " 1645554 1597163  325322 1137529  470465   24769  260668 1642121  366334\n",
      " 1665655 1171384  544892 1517792  128375  325756 1152537  439427 1089382\n",
      "  104911  276787  495512  335997 1319022   99993  548784 1090696  357660\n",
      " 1301038   27482 1310034 1171371  323267 1596078   92412 1556433 1302094\n",
      " 1218798 1556488 1608429  556764  159572 1576438 1342444  345351 1658726\n",
      " 1614911  228135  263399 1613596 1607893  364209  125040  397347  547399\n",
      " 1594849  373360 1093332 1076471 1517242  461258 1593032 1495687 1495305\n",
      "  284576  137735 1462207 1492818 1313427 1058570 1627860   65629   93066\n",
      " 1583471  221208 1557237  542639  138710   65510 1323604 1614201 1567262\n",
      "  215539  173121  316690   65779  601093 1083136 1330311  723753  383734\n",
      "  527155  214728   93489  430623 1552571  529336  336989  479129 1161894\n",
      "  225982 1062626  270491  384176 1657197  470246 1298243  373040  428593\n",
      " 1495502  116691  341396 1576578 1169787 1401269   76735 1156885 1460006\n",
      " 1506346  235444  366684  357618 1626450 1507256 1215000  122838  101706\n",
      "  462371  197383  338039  487459  156726  279263  171534 1097647 1506392\n",
      " 1605754 1170718  215548  383461 1091715  314119 1320558  545067  422482\n",
      " 1093952  542863  546707  148415 1653623 1594186  472735 1595541  234315\n",
      " 1647297 1140871  178155 1158499  283296 1582212  241564  473818 1571030\n",
      " 1585439  985334 1522129   77125 1643985  120354  162140  173499 1122871\n",
      "  676496 1668477  570907  216191  146617 1174830 1313452  142345 1557323\n",
      " 1312228   71024 1314580  528730 1183708 1639893 1454416  216788 1159144\n",
      " 1075768  276529 1171355  394913 1555620  346957  236194  515821  343756\n",
      "  314055  413816  154152 1600680 1612467 1639826 1538924  283943  210322\n",
      " 1557198  284780  324451  284110  357427  286635 1245819 1094923 1595734\n",
      "  343146 1645614  316712 1546110  212666 1321945 1053985 1550289 1335143\n",
      "   86146  178341 1147187  449732 1558517  435724 1553453 1080946   81654\n",
      "  546345  548900  180810  317631  548348 1663920  467471  283041   93878\n",
      "   81619   76138  226579 1545481  357624 1065780  448346   86879 1499878\n",
      "  556138  545536  364459 1085424 1163423 1162991  193433  373313  210894\n",
      " 1086616 1601581 1277289 1527029  694890 1671100 1319106 1665812  326570\n",
      " 1344253 1666326 1086313  417024  368321  493963 1095300  542350 1086590\n",
      " 1575536  475336  173299  154069 1496332 1529089 1296863   43095  591315\n",
      "  542324  322276 1589684 1520045 1567193 1147162  326370 1336503  388083\n",
      "  391553 1652392 1608653  318616 1627202 1500463 1654555 1659059  121487\n",
      "  243438 1508936 1642237 1375954  548280  520166 1504169  472657 1299376\n",
      " 1558451  159995 1275274  543022 1508934 1169182  102749  357523 1296663\n",
      "   10640 1670914  346271  496867  138556  310329 1312631  125521 1159123\n",
      " 1537898  334570  419854  117913  460840  221283   82721  208663  173282\n",
      " 1341879 1594551  366784 1610911  118096  215981  537947  323648 1494532\n",
      "   33789 1181199 1644447   37540 1564653 1594637 1576942 1507622 1549951\n",
      "  348692  193862 1595516   80281 1067398 1326614 1589782 1083504  196377\n",
      " 1085918 1663905 1624653 1533205 1068137  167763  197196  279733  197885\n",
      " 1069745  147935 1624404   28814  222379  286518 1592036  482564   65569\n",
      "  304915 1309295 1159073  493698 1332071  466803 1658382 1666562  337794\n",
      "  259388 1331143  472716  284497  529305  436035  194233 1549297 1630572\n",
      "  387868 1602507 1554104  476635 1171391 1058469  460177  423859 1585366\n",
      "  218216  461510 1305730  323671   28538 1518561 1128753  173991  128395\n",
      " 1536456  325091  336055 1539812   99888  542587 1335814 1326201 1613223\n",
      " 1326664  549466 1133831   27800 1624852  210007 1497010  448534 1504106\n",
      "  221175 1597345  108808 1320730 1061631 1058612 1058284  268078   35989\n",
      "  101237  431637 1521781 1660930 1632624 1309252  543501 1314932 1339360\n",
      " 1067122 1589989 1596828 1160820  115468 1093874 1158045 1593528  334013\n",
      "  254435 1313657   80995 1097332  203128  498556   35353  550958  331734\n",
      "  428856 1655864  547957  211387 1162655  334388 1607622  476896 1569065\n",
      "  160447  154630 1291040   77067 1589227 1623958  366843 1615662  539461\n",
      " 1624648  351789  360561  549190  147972  101742  471168 1140989  162081\n",
      " 1579872  324099  492110 1508741  317975 1598717  230761  301738  527976\n",
      " 1053791 1563147  317910 1551729  286108   99123 1520103 1514454 1594408\n",
      " 1130246  495525 1492148 1582215  436077 1594903 1492936  497449 1292930\n",
      "  518975  606958 1328885  532061  197004 1579271 1529231 1157410 1052645\n",
      " 1096416 1665832 1218708  393744 1610289 1120717 1503347 1601334 1330024\n",
      " 1096956  203742 1324185 1631320  500516  397593 1638472  247863   92644\n",
      " 1453000  444214 1131901  145739  527182 1080460 1179418  182886 1273906\n",
      " 1093321  542956 1560212  342762 1551996 1557584  493967 1083106  179282\n",
      " 1325405 1652968 1671238 1592040  217842]\n",
      "9\n",
      "train_indices: [9064 6094 3280 ... 5086 6665 5249]\n",
      "x_train_names:\n",
      " [1331217 1594195  498184 ...  543932 1527197 1592367]\n",
      "test_indices: [4138  604 4174  952 1343 4172 9318 2229 5511 8255 1695  415 2708 1656\n",
      " 3433 2704 2302 6920 7693 5306 6668 3210 7846 5322 6497 9316 3412 3364\n",
      " 3068 2571 5316 6491  288 7938 4786 8753  895 1254 6567 1318 3454 3599\n",
      " 2459 9279 5361 2904 8790 1166 6033 8903 8406 4512  366 4067 7882 2549\n",
      " 6712 7010 7658 8157 2264 5742 9072 8115 2793 3311  910  841 8582 3822\n",
      " 1728 8005 5116 4678 3980 5303 8374 1650  439 2943 3265 8278 5547 8651\n",
      " 8189 3191 3285 9136 8553 7314 9225 5577  892 1251 2397 5860 3988 4947\n",
      " 7190 1840 7492 3503 4288 1233 8591  450 7532 5147 5943 9138 3295 8509\n",
      " 4572 8667 6753 5240   79 4208 4003 5350 6419 3649 3264 2613 3709 4733\n",
      " 8277 8718 8813 6588 7878 9288 6403 1851 1601 1718 4869 6483 5533 4341\n",
      " 3464 2315 4962 8764 4424 8666  932 3660 4621   98 2237 4557 8652 8389\n",
      "  681 8706 5391 7668 3059 4376 2574 1107 4508 2537 2444  268 8113 4157\n",
      " 7972 5504 3538 1894 1655 1836 2466 9404 7560 6482  454 6931 2334 6790\n",
      "  589 4845 6170 3306 5558 8956 3188 4154 7079  775 3856 1154  445 1537\n",
      " 5698 3992  430 4813 6390 8497  860 7184 2771 6410 6288 4141 1475 9195\n",
      " 1070 6690 4596 6043 2981 8182 5876 2531 1602 8807 4644 4954 8957 7460\n",
      " 2386 7896 7676 6018 7575 5022 3370 5512 1520 5825 6524 2726 4840 3287\n",
      " 7976 8717 8417 5682 8061 5268 4995 3726 3471 7110 2146 6785 4970 1571\n",
      " 6242 8603 1130 2436 3928 2078 7295 5109 8675 1435 3382 4837 3261 2021\n",
      "  620 3892 8616 7632 8648 2777 6993 4599 9047 7153 5643 8226 8395 1637\n",
      " 5629 3835 9127 8830 8168 4474 4308 1076 8271 1399 5601 8004 6703 5396\n",
      " 7379 3578 3037 3995 1410 2611 7471 3032 1791 2768 8225 9009 9228 6132\n",
      " 6553 6008 1665 9359 8356 6118  691 8099 6213 6653 4117 7170 4637 8468\n",
      " 2891 7041 5043 6663 1973 5102 6348 5648 1261 3827 3653  501 7163 7831\n",
      " 9253 2139 8424 5465 2753   99 7123 2293 4078 3818 3593 8613 5206 1779\n",
      " 6729   71  945 6971 1035  342    7 6230 2552 2305 2230 7568 7173  871\n",
      "  193 5727 4223 2918 2655 6988  883 5214 7242 7836 1568 2163 5692 6630\n",
      " 6821 1009 4920 2592 1249 4233 2443  725 9135 7591 3881 7511 7602  615\n",
      " 6128 7074 3474 1612 2725 4683 3780 3139 7849 3294 2426 7254 4316 8245\n",
      " 7774 3260 3147  999 4894 4823 9219   64 3659  485 3762 8258 1477 5710\n",
      " 1898 4795 4114 4190  696  575 4545  428 5003 4773  901 2599 2008 2848\n",
      " 4426 8593  163 8309 4360 6507 6840 2902 8219 1301 1248 3087 3016  576\n",
      " 5758 5485 2685 7253 4834 7440 7139 6354  961 6541 4312 1211 6870 1553\n",
      " 7146 5291 4712 2038  122 3025 8335  198 1592 6126 3832 8154 1751 3702\n",
      " 1131 7609  574 3499 1156 4320 9224 1011  708 8012 5554 1870 2769 1469\n",
      " 1143 6813 2071 1845 7157 3277 7106 4189 1406 4998 1471 8635  545 8878\n",
      " 1283 6682  985 2886  399 6404 4143 3384 3706 8545 8513 4369  382 5309\n",
      " 4348 8431  484 2028 3118 9218 6237 6105  455 2253 1682 5993 7561 5048\n",
      " 8913 9133 6107 2500 7861 8496 1930 7480 4629 1923 8798 7611 2429 3889\n",
      " 1884 4469 7468 7022 4477 4297 6082 8175 6509 3034 4915 1026 5936 2180\n",
      " 8884 4648 1953 5160 1230  408 6462 1341  493 7860 2958 3026 8867  401\n",
      "  301 5609  178 8624 5136 5254 1313 1824 4628 1501 1986 7716 1286 6013\n",
      " 1774 9354 2058 5235 4847 5804 1336 5355 3553 1436 1056  546 4588  718\n",
      "  369 5085 4597 7541 4207 8754 5459 2979 8210 1350 5896  334 6272 6037\n",
      " 7378 8724 7042 1137 8658 8860  290 2775  844 7445 5746 8448 8781 4226\n",
      "  956 3275 6641 5786 1716 7245 6479  538 3896 2558 6017 9095 2668 3077\n",
      "  532 5772 6159  809  487 6534 8728 8559 8416 1800 3368 8954 1750 1617\n",
      " 4257 7076 7072 2604 2576 6079 3133 5158  278 2868 7925 4015 1950 2862\n",
      " 4364 3029 6163 2221 4942 8589 1424 9066 3875 1384 8678 4160 7421 3963\n",
      " 4227 5663 8202 4614 5721 8819 7550 5798 1176  383 8879 2398 1640 1440\n",
      " 6693 7808  882 8521 8699 1752  154 5923 2619 7907 4616 1256 6194 5296\n",
      " 9142 3486 3934 8506 4740 7903 4583 1222 4292 8205  729 4498 1843 7121\n",
      " 3779  917 1929 9099 6833 7292 3594 6007 8074 7205 8842 6149 2584  543\n",
      " 5323 9081 7814 4177  456 3437 1831 1856 9020 5812  938 8785 7513 9057\n",
      " 9038 5351 7963 5015 6555 6794 4433 3646 2567 5552  971 8859 4023 3533\n",
      " 8129 3947  669 2136 6583 3634 8532 7954 3048 8698 7285 6892 8518 6607\n",
      " 6637 7310 7806 8222 3680 4527 3391 5190 8899 3565 5821  638 1045 5300\n",
      " 5519  285 3307 5364 8023 8268  790 7994 5451 3208 5209 5575 2618 3616\n",
      " 5292 7404 3409 9331 5819  877 8006 7389 2853 7827 2375  433 3245 7510\n",
      " 4461  747 1605 5414 2096 7875  693 4521 8391 6030 3448 4148 8870 6551\n",
      " 8387 2661 3893 3495 8994 5403 2401 5708 2339 6307 5536 8097 1719 2422\n",
      " 6143 6209 1135 1354 1441 7776 1875 5942 7021 1786 2573   36 3530 8816\n",
      " 4491 5675 2706 2991  500 2379 8459 7475 7886 9389 6811  836 7988 6655\n",
      " 2957  199  197 8443 5616 4107 7933  137 8909 7273  541 1736 9213 8928\n",
      " 1151 3651 7156 3809 4212 4252 5977 3030  591 1003 5413  811 9112 5305\n",
      " 7826 5844 7695 6014 2357 6416 2485  640 4401 6179 2347 9268 4429 1128\n",
      " 4957 5662 2182 2843 7671 3195    4 5379 8857 3292 4361 4395 1147 5720\n",
      " 8919 6533 1588]\n",
      "x_test_names:\n",
      " [1053984  364390 1654060  101535 1083665  318394 1340511 1627820  286014\n",
      "   24509 1644849  406652 1197680 1304008   16784 1675706 1666709  193571\n",
      "  260400 1299308 1074294 1655730  511421  547892  283296  417281  358261\n",
      " 1540214 1550925 1524784  530695 1593920 1097579  436341 1263283 1331549\n",
      " 1300023 1630547 1496965 1601453 1583522  351153  546372   73466  117879\n",
      "   13825  607418 1207259 1473708 1098770  197900  317450  317910 1649272\n",
      " 1483837  366115 1595137  282333 1324921  160190  196378 1382942 1316907\n",
      " 1575349  316665 1222387 1508624  118305 1251930 1142544 1602642 1523985\n",
      "  273829  428862  519766   72795 1565881  322293  383057  334463 1314580\n",
      "  434085  498563  543501   44423 1551165  499512 1475315  232655   52275\n",
      "  395983 1284765 1313606 1492892 1274632 1499601   20829 1645627 1074281\n",
      " 1568361  273063 1575357 1085901 1323918  188554 1171393 1534950  173492\n",
      "  326315 1618029 1564922 1169137  495405 1442513 1320887 1576499  512754\n",
      "   75364  372446  174129 1256194   73496 1156279 1643878  429941  432815\n",
      "  259690  279993  482565 1092494 1096045 1460658 1321029 1676187 1084922\n",
      " 1514365  319139   92568 1158499  118180 1513106 1169282 1665655  317628\n",
      " 1596149 1432545 1144250  107908 1589291  257347 1100253 1665731 1075949\n",
      " 1337819 1651421 1613398 1650210 1140500 1516166  527384 1648923  216088\n",
      "  528215  460373   24259   66621 1556494 1282725 1345713  228427  389340\n",
      " 1653987  117723  475628 1156063 1272819  429271  384345  262454  171534\n",
      "  196041 1097863  210249 1155973 1612705  434074  471211  229826  195525\n",
      "  471181  319501  492354 1556433  543340  334694 1215000 1098058   75573\n",
      "  216231    9401 1180711  348295   68317  317277  217328  179437 1493196\n",
      "  356924 1096298  213507  318926 1655400 1168313 1376903 1538577  544506\n",
      " 1595728 1264283  247260  190843  295139 1245819  292422  369196 1666642\n",
      " 1584852  123122 1098104 1241703  221999 1311869   67320 1170007  323853\n",
      " 1160477 1308689   65598  520879   73216  148492  372224  430926 1632058\n",
      " 1320558 1646675   77062  235329  571254  157620  314964 1084050 1058469\n",
      "   33789  294288 1546148   36983  226737  389896 1085675 1613728  408510\n",
      " 1315197 1351208  284775  231604  169882 1529543 1171355 1424838  591315\n",
      " 1169390  516204 1610547 1303994 1152447 1064758 1508643 1554345 1629730\n",
      " 1575716  317223  543301 1614911 1639896 1312007  320346  476876 1565955\n",
      " 1324676  118980 1589377 1506740 1058284 1180218  210892 1337369 1643879\n",
      " 1549260 1667277  390849 1579290  431487 1526606  282767 1540223 1454480\n",
      " 1329488  528727 1655960 1288895 1282375 1098098  326473 1556284  190442\n",
      " 1430074 1149595 1531314 1497865 1589989 1556599  439427 1513346 1347740\n",
      " 1616393 1671967 1540313 1517899  419786 1612161 1137967   93878 1308140\n",
      "  374052 1500406 1089499  393356  155625 1423534 1088533 1313777 1621488\n",
      " 1093321  102770  392826   76157 1660930 1325269  498491  116740  547957\n",
      "  472738 1297218 1160092 1656024 1343345 1619824 1546912  260289  165987\n",
      "  346249 1585790 1329921  238912  626368  286772 1647788  334783 1548306\n",
      " 1556235  326394 1068126  401539 1624285  160318 1128143 1140994 1656640\n",
      " 1571761 1505890 1080946 1159073 1494532 1642884 1322497  436676 1330917\n",
      "  275001 1644097  490911 1502744   47327  116486   99888  118411 1515758\n",
      " 1159123 1330934   65890 1597103 1522129 1287529 1504055 1538487 1433614\n",
      "  477358 1056856  435084 1536354 1222095 1396932   42382 1656040 1594423\n",
      "  469978 1592128 1067342  548802  378270 1097784  161437  524691  108576\n",
      "  137970 1535639 1603796 1602211  547748 1644010  318136 1592748  362945\n",
      " 1325888  387868 1141157 1288414  140176 1298225 1565543  139311  326469\n",
      "  383733  435164  535332  282613 1346006 1609412 1611659  544582  326717\n",
      "  183934  279715   69879 1527962  278998 1629144  215018  282180 1276644\n",
      "  151234 1624553  320601  215609 1545795  194641  393281  600541  130907\n",
      " 1139115 1052059  262387 1608904  335007 1458805 1079601 1494314 1647691\n",
      "  497121 1620491   76304   71211 1316910  315022 1646012   76306  703297\n",
      " 1502893   76760 1137598   65004  471701 1556488  315921 1157891  233381\n",
      " 1319471  210358  334996 1086702 1496993  115560  488000 1313849 1070124\n",
      "  355570  706622   35989  467367 1561974 1584336  315818  310527 1631717\n",
      " 1081833 1449834 1280894  197885  519517  320813  424584   81934  544328\n",
      "   73218 1500315  545202  335997 1540121  163336  118771  128408  951600\n",
      "  493708 1678268  528240  161140 1089695  335386  344523   40368 1529267\n",
      "  286165  259623 1174599 1180642  282891  416925  547399 1602450  499929\n",
      " 1611657 1503899 1171361 1656008 1612390 1556543 1584958 1180440 1608638\n",
      " 1596356  233989  323648  410530 1601141  286413  472973 1322492 1583683\n",
      " 1519595  548446  323721  493426 1527256 1092703  200446 1583898  265285\n",
      " 1643897  434378  499524 1514503  491735  337629  234854  161828  101706\n",
      " 1306243 1637594 1589602  231415  474868 1524674 1608230  543396 1504074\n",
      " 1181261 1551741  343131 1595543  111305  160173  460734 1170688  104335\n",
      "  284543  195570  243141  518440 1539414  458525 1275782 1158643  196712\n",
      " 1272628 1299430 1310533   99229 1308561 1385259 1658884 1223993   74456\n",
      " 1495526 1170087  318528   76219 1058710  215301  197790  315988 1318098\n",
      " 1500415 1085436 1638988  638572  544156 1544862  324733 1507622  164828\n",
      " 1301107 1456860 1339674 1550807 1527298 1296145   69473  567930  315006\n",
      " 1551681  324211 1644110 1242302  234115 1328965 1301212  183983  502499\n",
      " 1086362 1097197  280133  493707  543605  215992  323651 1659065 1582401\n",
      "  102430 1097861   66521  367722  284579  420177 1315956  137735 1507655\n",
      " 1536007 1582469  146729   94437 1538857 1180442 1067974 1336434  107548\n",
      "  117838 1494706  104841   41205  402206  669711 1551613 1539875 1553560\n",
      " 1520508  501292 1061717 1204892 1646994  102798   65489  160373 1557074\n",
      " 1326201 1121451  314644  235561  201952  370365  286245 1542715  171882\n",
      " 1579816  495528  324912 1152198  270774 1648857  233659   86625  320577\n",
      " 1097489 1554632  147972 1554712  477403  419556  373249 1068155 1326101\n",
      " 1646062 1074749 1576193 1492879  343046 1658859 1647952  536202 1068076\n",
      " 1582899  520172  431013  535277 1582306  285156 1495305  237831  138709\n",
      " 1299654  118399  467550 1308352  114182  279141 1467322  431491 1573505\n",
      "  259483  544454  278141 1348814  280158  522261  449873  321509   77180\n",
      " 1610706  364209 1160712 1639986 1143680 1246508  435678 1554896 1296396\n",
      "  283945  102917 1100314 1080473 1309345   64477 1671093 1548997  357539\n",
      " 1299295  540538 1320193 1378219 1327888 1339360 1315672  210605  173299\n",
      "  113038 1308057 1582462  159873  237685 1549963  186658 1159137 1581793\n",
      " 1585063  479813  461046 1302588 1330986 1594006  322529   74366 1057467\n",
      " 1174866  544570   95940 1515286 1244373  127816 1556359 1527110 1613332\n",
      "  411504   67500  325863 1627859 1551581  498967  221211 1540238 1563579\n",
      " 1058612  203742 1296863  338039 1514506 1597593 1539507 1556159  221208\n",
      "  106987 1492839  550958  172665 1495266 1657274  211689 1309307 1607567\n",
      " 1601489 1644547  380683   39707 1058374  320122  548961  493701  317809\n",
      " 1554694 1658390 1567018 1661928 1334940  548557  547019  359728  324086\n",
      " 1584807 1153529 1513120 1137564  276768 1513886 1275529   27800  493633\n",
      "  318305  532345 1622550  381696 1078128 1162991   89348 1518561 1640020\n",
      "   76009   15581  380217 1504009 1513778   73112 1330003  154069 1577401\n",
      " 1096416  528549 1538957  442334  282626  102956  100734  461921 1510480\n",
      "  226054 1550628 1129183  542834 1289424  268880 1351065 1169442 1510804\n",
      " 1331067  216084  167620  357087  321593   99489 1566488  137974 1645930\n",
      " 1085221 1299376 1279714 1328553 1128283 1596554  214752  114171 1531374\n",
      "  229181   40140 1097518  300417 1670961  544752 1286436  138617  230661\n",
      "  475674  362825  564550 1610797 1557262]\n",
      "10\n",
      "train_indices: [6603 1808 4360 ... 5525 1411 1014]\n",
      "x_train_names:\n",
      " [ 324361   77150 1565543 ... 1595782  427716  263880]\n",
      "test_indices: [ 228 3047 1100 4295 8208 2922 4052 7284  596 1142 3496 5967 6988 4772\n",
      " 8919 5566 5472 2266 4141 2306 6541 8209  304 1670 1481 7266 3904 2187\n",
      " 6426 6356 2299 4763 3947 3392 1234 7921 9318 9247 8091  420 3970 4478\n",
      " 6714 1245 8452 2994 6124 3770 5719 4692 5003 8971 6449 2215 3648 1689\n",
      " 3725  385 4794 1832 1428 1336 1160 2587 3501   26 2425 5771 3622 1304\n",
      " 4263 3098 6651 7591 7152 3813  602 5202 5945  313 3608  876 8860 4199\n",
      " 6568 6051 9341 7383 4803 1703 8123 8666 5491 1830 1158 2619 8292 7476\n",
      " 5669 4224 3905 1886 2899 3251 9218 5345 8625 2461 4151 4124 5691 7866\n",
      " 6635 5941 6351 5696 4391 7078 4661 2383 3045 8697 4131  545 8188 9177\n",
      " 7607 2885 6494 3009 4515 7271 9187 2886 6452 1898  684 8372   11 6079\n",
      " 9059 1834  675 6493 7728 8835 2245 8162 5639 5213 9221 3592 6053 7932\n",
      " 6307 6851 7578 2039 6072 7885 7975 2398 1702  278 6614 8678 3312 9138\n",
      " 3199 7705 8615 4351 6448 7927 6548 7358 1039 5966  783 3872 1502 8297\n",
      " 9306 8750 6655 4345 7010 6503 5425 7059 4579 6469 2386 1695 2820 1229\n",
      " 3815  134 2813  539 9035 7281  723 8762 4016 1625 6084 3656 7465 7690\n",
      " 2639 8875  626 5068 2867  548 1372 2428 7982 7341 5572 6164  432 7727\n",
      " 4433 7816 7245 2217 2784  202 7185 5786 9300 2067 3086 2196 2935 8079\n",
      " 6259 1691 2893 5082 5162 8105 1572 5499 6383 4120  833 1890 8768  230\n",
      " 5074 5544 7122 5075 6950 6033 6132 5143 7810 7441 5601 8006 2566 5393\n",
      " 5223 6327 3964 4128 5004 5848 3326 4521 1085 7807 6549 4248 7450 3604\n",
      " 3108 5582 6511 8199 2200 3191 2521 7965 6115  187 1973 5091 1542 7752\n",
      " 2957 2175 7413 5527 8157 6618 3696 3011 7496 1344 2077 7007 8855 1386\n",
      " 6629  745 2914 3516 8026 6156 2085 5632 1032 2769 1633  409  762 3693\n",
      " 1029 6236 2170 3200 4858 6444 4526 1132 8580 5100 1534 9344 2706 3193\n",
      " 4152 3980 8334 5979 9311  132 4424 1381 4777 4429 6546 1831  780 1880\n",
      " 8328 6212 1821 7012 7749 9003 8350 9183 8022  812 1335 4338 2331 2259\n",
      " 1138 2080  351 6982 1888  262 1729 2978 7070 3913 8559 8111 5853 2349\n",
      "  934 6168 8130  166 4594 2192 6684 9334 6458 9090  854 3150 7133 6697\n",
      " 7801 5007 4053 4491  346 4671 6927 4993 4055 5609 5110 3396 5038 4624\n",
      " 3962 1607 1879 1605 4785 6186 4001 9237 9084 1194 6486 4341 4516 5269\n",
      " 6278 8803 4292 1665 1470 3380 6900 6308 4427 4461 4011 6564 8121 2831\n",
      " 6664 7949 4702  130 7422 4046 6650 1674 1649 5865 4689 5450 6075 1690\n",
      " 4655 7219 6095 2517 1101 5430 2506 3777 2990 3953  114 7721 3275 1683\n",
      " 6930 3427 9125 2897 8603 6283 7002 4989 7124 4871 2314 3173 7832 6599\n",
      " 5383 8496 7520 3875 6500 2231 6085 4999 4259 5549 8103  612 3002 7045\n",
      " 5308 1238 3049 6222 8204 5107 4766 9313 8070 4752 8284 1284 6090 7557\n",
      " 8243 8044 6280 2689 5714 7936 6660 1074 3040 3389  997 7775 5336 4063\n",
      " 5098 7455 2952 6012 6113 6870 9173 1208 2627 8901 6492 2859 7442 3066\n",
      " 8201 6357 2439 1856 6856 1944 6747 7716 2803 5462 2959 6386 6533 7952\n",
      " 3159 7544 7278 9219 7889 5837 4218 9137 5044 4104 1012 7130  358 5243\n",
      " 4475 7540 7791 6891 2989 6201 2352 4090 1396 6213 2443 7389 2985 1778\n",
      " 5929  859 2309 8274  880 1964 6685   68 5032 3804  283 1538 3894  628\n",
      "  376 5413 7131 6722 3588 1656 3424 9266 1027 2094 4890 7335 4604 8606\n",
      " 3307 4497 2372 8240 7539 5535 3643 2896  441 1174 4938   57 6973 3935\n",
      " 1654 3216 1123 6472 8986 6883 5619 8719 1715 8586 5872 9241  456 6741\n",
      " 2974 3431 6248 3391 2882 1474 6630 4657 4454  167 4405 3235 7240 3581\n",
      " 6063 6742 3428 7724  494 8299 7222 8753 8278 7115 5060 8018 9369 1425\n",
      " 9154 3004 5414 8417 3470 6094 1165 3931 8701 8455 5640 3466 5836 1146\n",
      " 1787 3278 8134 8554 3134 2739 3631  491 4885 6228 6057  128 7094  995\n",
      " 5285 5301 7837 7834 1555 1178 8089 3406  976 4322  798 4012 4832 8374\n",
      " 4285 1659 2345 4716 6496 2884  454 7668 9131 1237 9073  587 4217 9191\n",
      " 4225 8991 3495 5022 3266 8128 4428 4335 1550 8968 1813 5592 2503 4305\n",
      " 6293 7804 2569 7873 4567 1156  514 2163 5626 1319 5475 1660  761 9029\n",
      "  693 7150  530 5396 1380  144 8564 6674 5403 3373 2074 3118 1812 6602\n",
      " 5766 6637 8367 6754 5440 2134 9189 3689 2264 3072 6134 1477 2764 7475\n",
      " 3827 8802 4576 6479 5741 7223 1532 9252 1503 3888 8330 3674 1740 5318\n",
      " 7062  191 5924 4396 5337 8233 3386 3435 1640 8999 7444 8634  399 7213\n",
      " 7095 2436 2007 5636 1596  849 4847 3489 1376 1950 4147 4103 7495 3541\n",
      " 4725 3560 2374 4958 5055 8037 1735 7537 1037 1686  692 5192 2024 2707\n",
      " 8622 8446 8729 6811 1353 4835 7948 3192 3818  473 5852 5653 3672 8880\n",
      " 7933  769 4216 2238 9402 6609 8387 5749 2152 4488 2449 7232 5615 7291\n",
      "  457 5752 8575 3440 1971 1223 3168 6696 3426 6399  232 4853  543 3703\n",
      " 4320 4462 8043 8680 6787  185  855   53 5678 1091 1917 7994 9104 6993\n",
      " 6793 8721 3274 1962 8094  311 5829 5035  775 9312 4148 2099 8013 6004\n",
      "  601 3289  785 3237 2459 2747 9067 5122   21 1003 6522 8869 8326 8485\n",
      " 1317 7673 1442 8548 7379 1351 2242 5451 2708 1710 6997 2519 2463 5437\n",
      " 4600 7632 6330 9213 9143 1544 8957 6039 9023 4118  699 8903  458 8541\n",
      " 8253 5551  192]\n",
      "x_test_names:\n",
      " [ 455695 1101679  235429  171501  451347 1612467 1595367 1523867 1649438\n",
      " 1124661 1496219 1069782 1556235  498614  564550 1552077  135739  470408\n",
      "  356924 1298537  282180  476519 1655557  364884   34039 1641103 1506612\n",
      " 1052934  325232  543891 1508361 1069591  435678 1607528  324232 1073062\n",
      " 1340511 1169961 1584596  586165 1582020 1170789 1655276  111206 1624614\n",
      "  471172  428463  335200  320833  471069 1644010   27662  529281  343232\n",
      "  221175  258562 1076488  108581  235254 1180681 1354925 1181261  394920\n",
      " 1583530  712339 1530029   65821  428614  146140  343307   76523  286725\n",
      "  384217  275001 1582115 1539344  277155 1584190   66619  216116  120424\n",
      " 1062082 1495526  613781 1084693  284576   76281 1162655   43260 1268781\n",
      "  128881 1432545 1663705 1301098  193830  286245 1509029 1531404  160418\n",
      " 1539569  357550  102834 1601580 1343510 1500315  197807 1539852  365465\n",
      "   65582  324873  497449  176794 1649405  295375   70674 1284782  282897\n",
      "  524576   99027 1606341  197004 1674574  317764 1313849 1643234 1658382\n",
      "  144319 1602437 1095174  419671 1580043 1067151  351050  467367 1504352\n",
      "  161437   41052 1337577 1120751  323651  118034 1507657 1089375  171656\n",
      " 1649288 1067229  535929 1094230  499719   65624   70539  471636  323718\n",
      " 1152537   39707  365646 1551399 1524684 1659778  352446 1639910 1646994\n",
      "  470474  102430  320460 1336434  542587 1618029  266323  117703 1385825\n",
      " 1530816 1613257  142613  388083  127852 1533874  218915 1345525 1320194\n",
      "  335071 1517058 1064748 1180427 1640020 1656238  282333 1578905 1499741\n",
      " 1430792  422482 1610141 1666642 1644849  298133  460186 1309775 1085012\n",
      "  334389 1517792 1648115 1335496 1506615  188412   77307  149085 1525070\n",
      " 1611226 1296294 1641887  394691  254396  159491 1653868 1569793 1518735\n",
      "  468873 1632060 1471632   99803 1594403 1507673 1334593 1213657  449873\n",
      " 1678045 1544862   38462 1655819 1645293  357452  638572 1315459 1120068\n",
      " 1140509 1524789  362297 1536425 1312248  280380 1058325  160268 1319106\n",
      "  317444  394727 1157501  286507 1624620  429962 1577970 1306466  235541\n",
      "  284809  161498   76386 1660153 1563068 1473708  528727 1614379  290681\n",
      " 1310496 1589377 1613332  255242 1661566 1656625 1672340   75126  356865\n",
      " 1520045 1159274 1110488 1597593 1300191 1496540  587382  102914 1632222\n",
      " 1520475  459824 1631131 1611421 1635588 1496909 1551165  211138  444214\n",
      " 1515233  146596 1540313  542324 1157266 1554089   76009  154458  173352\n",
      "  161487  160190 1097631 1180441  433491 1601204  175197 1643250 1160518\n",
      "   38547 1507668  102459  151497 1085656 1524713  548811 1300193  314952\n",
      "   76243  161244 1137598  381741 1169346  717566 1344253  159998 1497040\n",
      "  460027  498705 1597465  404671  460763 1524695 1676067  393743  195467\n",
      " 1217420 1275529  183849 1656894  519766  535331 1507295 1603936  428656\n",
      " 1596149  319414  419013 1128283  325815  118399  357941 1227551  518862\n",
      "  318247 1647916  145030  545706  527238 1427483 1126642  383237  326641\n",
      " 1062400 1609045 1580056  429993 1098983  340953  286328 1567421  318227\n",
      " 1550975  357260  235569  343374  326050 1242302 1513818  198809  676496\n",
      " 1596363  101775 1334613  544260  543367 1099078   49607  328640  350500\n",
      " 1631990 1624975 1052522 1562989 1538317 1602630  180810   82967  276768\n",
      "  472657  555245 1508936  233457 1557281  265285   32805 1522825 1571030\n",
      "  346238   79496 1613175 1089382 1058612 1158571  117797  386380  458700\n",
      "  548463 1566926 1348297  118180  175704  363998 1304441 1438017  147972\n",
      " 1282375  259849 1158413  494001  640546  118435 1540238 1085418  199718\n",
      "   67311 1540056 1097115  101465 1298730 1080460  373902  101681  428593\n",
      "  492269 1603278  190033  394430 1598275  449891 1556471 1328574  282684\n",
      " 1514454  345654 1279804  387587  382551 1159469  527976  545067 1624418\n",
      " 1655006 1085436  465345 1333562 1531322 1302876 1300142  294288  247400\n",
      " 1320375 1180528 1508309 1637035  366608  347954 1126915 1556922 1557315\n",
      "  344523 1497607 1180442 1661080   73175 1658330  117913  240183 1158026\n",
      "  280283 1498950 1567387  468373  535885  356813  319402 1575999 1523512\n",
      "  110916 1648458  162445 1594528  433623  118956 1592934 1585471  194752\n",
      "  373924  384176 1290254 1298656 1174487 1669366 1095361 1529259  328230\n",
      " 1331028 1595820 1140571  540521  502024  286427 1596828  393420  575478\n",
      " 1657202 1624553 1309548   82464 1155931  393096 1141038 1324185 1300103\n",
      "  344924  284384 1322932 1243823  467550 1216080  160424  138657 1306243\n",
      "  502088 1170798  261320  215548 1610797  292345   73548 1141257 1671021\n",
      " 1656040 1556267 1541710  391906 1567837  545004  383406  498603  461510\n",
      " 1645798  373894 1087026  107329  184147   37733  282656  173282  233374\n",
      " 1091311  102944 1149595 1322497  411504 1502751  542653  270661 1624268\n",
      " 1053611 1526582  270990 1595624  387296  328769 1300220  137907  159511\n",
      "  286620 1666485  343711 1086554 1351065 1556495 1176551  387229 1304008\n",
      "  525939  284145 1537898  261432 1638886  128370  388071 1333352 1581793\n",
      "  259646  318906  230626 1342941 1517897 1659028  102111  544421  397581\n",
      " 1614373 1286284   73005 1594699  116658  299439  502063  341908 1553790\n",
      " 1602294 1540389  315421 1594408 1672609  542436 1350454  138709  230578\n",
      " 1179826  180077 1166633  210605  362731  336556 1656640  535745  387330\n",
      "  138400  259810 1607158 1300170 1594163  544923  102973 1068124  435551\n",
      "   92916 1624830 1665222 1331549  434085 1299435 1058584  172523 1326242\n",
      "   66605 1554104  358225  203742  372224  172551 1594195  210888 1567033\n",
      "  358237  229582 1597199 1515797  262051 1521774 1098840 1316979  395975\n",
      "  428672 1654589 1552129 1560481  314660 1158780 1630303  321144  436250\n",
      "  178673  383774  548625  542838  259642 1507259 1131649 1302579 1546439\n",
      "  271154  362646 1567832  334388  177752  138700 1565881  118880  335186\n",
      "  193948 1527109  545502  215981  262454 1140500  239816  468895 1656743\n",
      "  181655 1284859 1550325  393538  541745  211689  221999 1524428 1149938\n",
      " 1549240  215919 1288913 1551708 1590812 1589009  338454 1335179  359046\n",
      "  217823  350821 1659059 1671944   71211  535120 1128143  588317 1653891\n",
      "  398509  319020 1651939  373627 1514506 1551865 1576438 1180218  326461\n",
      " 1305294 1071604  416535 1607567 1140640  542852   73218  386157 1182239\n",
      " 1303752  540538  225982 1538924  423873  493263 1397217 1140461  196378\n",
      " 1320562  234409  378270 1508416 1622550   93878 1365326  197018  324733\n",
      " 1336567 1336648  198031  317964 1582212 1593122 1612069  499625   84973\n",
      "   94106  523152  335256  386091 1085690  682766 1554847 1495150 1580757\n",
      "  102798  197984  280053  385320 1561974   29095  115558   36983  215931\n",
      " 1148686 1067345 1601621  543396  471432  171426  284579 1179491  504510\n",
      " 1180463 1298740 1577692 1593619 1309631 1125814 1216748 1273906  282332\n",
      "  667213  117672 1169234 1344945 1089592  263399  482397  334947   38466\n",
      " 1671221 1162991  255653  318877   73187 1378808   76157  460010  108618\n",
      " 1507716 1405229 1462207 1330003 1149619 1585183 1145040  414231  357660\n",
      "  172665  286133 1667281  354705 1511913  320352  331734 1557285 1336036\n",
      " 1518840 1520693 1170763 1595347  460774   77120  233873 1524743 1164470\n",
      " 1056746  218059  535277 1497129 1316910 1575536  344408 1534449   40357\n",
      " 1669109  170059 1624610 1594239 1543953 1659283 1330986  516070 1610547\n",
      " 1099143  518820 1091876  480409  162081  549091  355670 1659743  492354\n",
      "  161501  106987 1650001 1067398 1174766 1169204 1522022   34575 1325405\n",
      "  546372 1179919 1553362 1653623  381123  268880  241564 1479453  396422\n",
      "  537308  233455  351491 1420963 1518823  210892 1624668 1671675 1594006\n",
      " 1197680 1515851 1086549   99123 1511008 1175806 1090696  591315 1563185\n",
      "  442334 1157900 1053361  292422 1527047 1423892 1250798 1303553 1098770\n",
      " 1569116  209686 1646574 1647726  323515]\n"
     ]
    }
   ],
   "source": [
    "from sklearn.model_selection import ShuffleSplit, GroupShuffleSplit\n",
    "x_train_names_all = np.array(user_and_label['user_name'])\n",
    "y_train_labels_all = np.array(user_and_label['label'])\n",
    "print('start')\n",
    "rs = ShuffleSplit(n_splits=10, test_size=0.1, random_state=0)\n",
    "n_fold = 1\n",
    "train=[]\n",
    "train_indices=[]\n",
    "test=[]\n",
    "test_indices=[]\n",
    "for onetrain_indices, onetest_indices in rs.split(user_and_label):\n",
    "    print(n_fold)\n",
    "    train_indices.append(onetrain_indices)\n",
    "    print(\"train_indices:\", onetrain_indices)\n",
    "    x_train = x_train_names_all[onetrain_indices, ...]\n",
    "    print(\"x_train_names:\\n\", x_train)\n",
    "    train.append(x_train)\n",
    "\n",
    "    test_indices.append(onetest_indices)\n",
    "    print(\"test_indices:\", onetest_indices)\n",
    "    x_test = x_train_names_all[onetest_indices, ...]\n",
    "    print(\"x_test_names:\\n\", x_test)\n",
    "    test.append(x_test)\n",
    "\n",
    "    n_fold+=1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0\n",
      "1\n",
      "2\n",
      "3\n",
      "4\n",
      "5\n",
      "6\n",
      "7\n",
      "8\n",
      "9\n"
     ]
    }
   ],
   "source": [
    "for i in range(10):\n",
    "    print(i)\n",
    "    b=user_and_label.iloc[train_indices[i]]\n",
    "    b.to_csv('/data/jupyter_root/LSK/train+test/feature_label_list_train'+str(i)+'.csv',index=None,header=True)\n",
    "    b=user_and_label.iloc[test_indices[i]]\n",
    "    b.to_csv('/data/jupyter_root/LSK/train+test/feature_label_list_test'+str(i)+'.csv',index=None,header=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 训练与打印结果"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 106,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0\n",
      "[0]\tvalidation_0-error:0.298772\tvalidation_1-error:0.312434\n",
      "Multiple eval metrics have been passed: 'validation_1-error' will be used for early stopping.\n",
      "\n",
      "Will train until validation_1-error hasn't improved in 500 rounds.\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/opt/anaconda3/lib/python3.7/site-packages/sklearn/preprocessing/label.py:219: DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "  y = column_or_1d(y, warn=True)\n",
      "/opt/anaconda3/lib/python3.7/site-packages/sklearn/preprocessing/label.py:252: DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "  y = column_or_1d(y, warn=True)\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[50]\tvalidation_0-error:0.284719\tvalidation_1-error:0.301807\n",
      "[100]\tvalidation_0-error:0.277752\tvalidation_1-error:0.306057\n",
      "[150]\tvalidation_0-error:0.269603\tvalidation_1-error:0.300744\n",
      "[200]\tvalidation_0-error:0.260392\tvalidation_1-error:0.311371\n",
      "[250]\tvalidation_0-error:0.256731\tvalidation_1-error:0.311371\n",
      "[300]\tvalidation_0-error:0.252362\tvalidation_1-error:0.321998\n",
      "[350]\tvalidation_0-error:0.245394\tvalidation_1-error:0.321998\n",
      "[400]\tvalidation_0-error:0.24256\tvalidation_1-error:0.328374\n",
      "[450]\tvalidation_0-error:0.239017\tvalidation_1-error:0.333688\n",
      "[500]\tvalidation_0-error:0.235239\tvalidation_1-error:0.33475\n",
      "[550]\tvalidation_0-error:0.232641\tvalidation_1-error:0.33475\n",
      "[600]\tvalidation_0-error:0.232404\tvalidation_1-error:0.347503\n",
      "Stopping. Best iteration:\n",
      "[112]\tvalidation_0-error:0.274799\tvalidation_1-error:0.290117\n",
      "\n",
      "TP 269 P 532.0 FP 78 N 409.0\n",
      "Precision  0.7261297412171571 Recall 0.5056390977443609\n",
      "TP 376 P 532.0 FP 134 N 409.0\n",
      "Precision  0.6832657993886401 Recall 0.706766917293233\n",
      "TP 452 P 532.0 FP 193 N 409.0\n",
      "Precision  0.642920735609159 Recall 0.849624060150376\n",
      "TP 475 P 532.0 FP 239 N 409.0\n",
      "Precision  0.6044215877519654 Recall 0.8928571428571429\n",
      "1\n",
      "[0]\tvalidation_0-error:0.300307\tvalidation_1-error:0.298618\n",
      "Multiple eval metrics have been passed: 'validation_1-error' will be used for early stopping.\n",
      "\n",
      "Will train until validation_1-error hasn't improved in 500 rounds.\n",
      "[50]\tvalidation_0-error:0.28094\tvalidation_1-error:0.30712\n",
      "[100]\tvalidation_0-error:0.275626\tvalidation_1-error:0.306057\n",
      "[150]\tvalidation_0-error:0.269485\tvalidation_1-error:0.306057\n",
      "[200]\tvalidation_0-error:0.262163\tvalidation_1-error:0.311371\n",
      "[250]\tvalidation_0-error:0.256613\tvalidation_1-error:0.320935\n",
      "[300]\tvalidation_0-error:0.253779\tvalidation_1-error:0.324123\n",
      "[350]\tvalidation_0-error:0.248819\tvalidation_1-error:0.324123\n",
      "[400]\tvalidation_0-error:0.243033\tvalidation_1-error:0.317747\n",
      "[450]\tvalidation_0-error:0.238309\tvalidation_1-error:0.317747\n",
      "[500]\tvalidation_0-error:0.235947\tvalidation_1-error:0.316684\n",
      "Stopping. Best iteration:\n",
      "[10]\tvalidation_0-error:0.29086\tvalidation_1-error:0.293305\n",
      "\n",
      "TP 279 P 568.0 FP 82 N 373.0\n",
      "Precision  0.6908186905465239 Recall 0.49119718309859156\n",
      "TP 420 P 568.0 FP 150 N 373.0\n",
      "Precision  0.647730091788638 Recall 0.7394366197183099\n",
      "TP 478 P 568.0 FP 186 N 373.0\n",
      "Precision  0.6279240126504708 Recall 0.8415492957746479\n",
      "TP 512 P 568.0 FP 218 N 373.0\n",
      "Precision  0.6066581956797967 Recall 0.9014084507042254\n",
      "2\n",
      "[0]\tvalidation_0-error:0.299717\tvalidation_1-error:0.303932\n",
      "Multiple eval metrics have been passed: 'validation_1-error' will be used for early stopping.\n",
      "\n",
      "Will train until validation_1-error hasn't improved in 500 rounds.\n",
      "[50]\tvalidation_0-error:0.280231\tvalidation_1-error:0.306057\n",
      "[100]\tvalidation_0-error:0.27043\tvalidation_1-error:0.299681\n",
      "[150]\tvalidation_0-error:0.266179\tvalidation_1-error:0.315622\n",
      "[200]\tvalidation_0-error:0.259684\tvalidation_1-error:0.319872\n",
      "[250]\tvalidation_0-error:0.253897\tvalidation_1-error:0.323061\n",
      "[300]\tvalidation_0-error:0.249528\tvalidation_1-error:0.330499\n",
      "[350]\tvalidation_0-error:0.24752\tvalidation_1-error:0.332625\n",
      "[400]\tvalidation_0-error:0.245513\tvalidation_1-error:0.341126\n",
      "[450]\tvalidation_0-error:0.241852\tvalidation_1-error:0.341126\n",
      "[500]\tvalidation_0-error:0.238191\tvalidation_1-error:0.34644\n",
      "[550]\tvalidation_0-error:0.234884\tvalidation_1-error:0.337938\n",
      "Stopping. Best iteration:\n",
      "[93]\tvalidation_0-error:0.272556\tvalidation_1-error:0.292242\n",
      "\n",
      "TP 278 P 550.0 FP 95 N 391.0\n",
      "Precision  0.6753609861570197 Recall 0.5054545454545455\n",
      "TP 392 P 550.0 FP 157 N 391.0\n",
      "Precision  0.6396407675422123 Recall 0.7127272727272728\n",
      "TP 472 P 550.0 FP 197 N 391.0\n",
      "Precision  0.6300810509999932 Recall 0.8581818181818182\n",
      "TP 497 P 550.0 FP 230 N 391.0\n",
      "Precision  0.6057065022582264 Recall 0.9036363636363637\n",
      "3\n",
      "[0]\tvalidation_0-error:0.305267\tvalidation_1-error:0.30712\n",
      "Multiple eval metrics have been passed: 'validation_1-error' will be used for early stopping.\n",
      "\n",
      "Will train until validation_1-error hasn't improved in 500 rounds.\n",
      "[50]\tvalidation_0-error:0.279169\tvalidation_1-error:0.300744\n",
      "[100]\tvalidation_0-error:0.270666\tvalidation_1-error:0.298618\n",
      "[150]\tvalidation_0-error:0.264761\tvalidation_1-error:0.303932\n",
      "[200]\tvalidation_0-error:0.261455\tvalidation_1-error:0.314559\n",
      "[250]\tvalidation_0-error:0.251063\tvalidation_1-error:0.311371\n",
      "[300]\tvalidation_0-error:0.246693\tvalidation_1-error:0.309245\n",
      "[350]\tvalidation_0-error:0.243977\tvalidation_1-error:0.324123\n",
      "[400]\tvalidation_0-error:0.241261\tvalidation_1-error:0.316684\n",
      "[450]\tvalidation_0-error:0.237128\tvalidation_1-error:0.321998\n",
      "[500]\tvalidation_0-error:0.234412\tvalidation_1-error:0.326249\n",
      "Stopping. Best iteration:\n",
      "[8]\tvalidation_0-error:0.293103\tvalidation_1-error:0.289054\n",
      "\n",
      "TP 281 P 551.0 FP 80 N 390.0\n",
      "Precision  0.713151558534522 Recall 0.5099818511796733\n",
      "TP 419 P 551.0 FP 148 N 390.0\n",
      "Precision  0.6670939507997289 Recall 0.7604355716878403\n",
      "TP 486 P 551.0 FP 207 N 390.0\n",
      "Precision  0.6243144695105683 Recall 0.8820326678765881\n",
      "TP 500 P 551.0 FP 238 N 390.0\n",
      "Precision  0.5979064077169787 Recall 0.9074410163339383\n",
      "4\n",
      "[0]\tvalidation_0-error:0.300071\tvalidation_1-error:0.300744\n",
      "Multiple eval metrics have been passed: 'validation_1-error' will be used for early stopping.\n",
      "\n",
      "Will train until validation_1-error hasn't improved in 500 rounds.\n",
      "[50]\tvalidation_0-error:0.281767\tvalidation_1-error:0.301807\n",
      "[100]\tvalidation_0-error:0.274209\tvalidation_1-error:0.298618\n",
      "[150]\tvalidation_0-error:0.264053\tvalidation_1-error:0.302869\n",
      "[200]\tvalidation_0-error:0.258975\tvalidation_1-error:0.314559\n",
      "[250]\tvalidation_0-error:0.256259\tvalidation_1-error:0.317747\n",
      "[300]\tvalidation_0-error:0.24941\tvalidation_1-error:0.316684\n",
      "[350]\tvalidation_0-error:0.247048\tvalidation_1-error:0.31881\n",
      "[400]\tvalidation_0-error:0.242324\tvalidation_1-error:0.327311\n",
      "[450]\tvalidation_0-error:0.239254\tvalidation_1-error:0.329437\n",
      "[500]\tvalidation_0-error:0.235593\tvalidation_1-error:0.335813\n",
      "Stopping. Best iteration:\n",
      "[7]\tvalidation_0-error:0.294875\tvalidation_1-error:0.292242\n",
      "\n",
      "TP 303 P 561.0 FP 86 N 380.0\n",
      "Precision  0.704711541992582 Recall 0.5401069518716578\n",
      "TP 422 P 561.0 FP 152 N 380.0\n",
      "Precision  0.6528465346534653 Recall 0.7522281639928698\n",
      "TP 466 P 561.0 FP 180 N 380.0\n",
      "Precision  0.6368409695749119 Recall 0.8306595365418895\n",
      "TP 503 P 561.0 FP 239 N 380.0\n",
      "Precision  0.587727039318121 Recall 0.8966131907308378\n",
      "5\n",
      "[0]\tvalidation_0-error:0.301488\tvalidation_1-error:0.296493\n",
      "Multiple eval metrics have been passed: 'validation_1-error' will be used for early stopping.\n",
      "\n",
      "Will train until validation_1-error hasn't improved in 500 rounds.\n",
      "[50]\tvalidation_0-error:0.278814\tvalidation_1-error:0.293305\n",
      "[100]\tvalidation_0-error:0.270194\tvalidation_1-error:0.292242\n",
      "[150]\tvalidation_0-error:0.267478\tvalidation_1-error:0.30712\n",
      "[200]\tvalidation_0-error:0.264643\tvalidation_1-error:0.316684\n",
      "[250]\tvalidation_0-error:0.258503\tvalidation_1-error:0.321998\n",
      "[300]\tvalidation_0-error:0.252008\tvalidation_1-error:0.31881\n",
      "[350]\tvalidation_0-error:0.251771\tvalidation_1-error:0.327311\n",
      "[400]\tvalidation_0-error:0.248229\tvalidation_1-error:0.330499\n",
      "[450]\tvalidation_0-error:0.243741\tvalidation_1-error:0.333688\n",
      "[500]\tvalidation_0-error:0.239254\tvalidation_1-error:0.33475\n",
      "[550]\tvalidation_0-error:0.23949\tvalidation_1-error:0.321998\n",
      "Stopping. Best iteration:\n",
      "[95]\tvalidation_0-error:0.271847\tvalidation_1-error:0.284803\n",
      "\n",
      "TP 266 P 552.0 FP 88 N 389.0\n",
      "Precision  0.6805261427162118 Recall 0.48188405797101447\n",
      "TP 358 P 552.0 FP 129 N 389.0\n",
      "Precision  0.661671497125481 Recall 0.6485507246376812\n",
      "TP 466 P 552.0 FP 182 N 389.0\n",
      "Precision  0.6434133840660472 Recall 0.8442028985507246\n",
      "TP 491 P 552.0 FP 221 N 389.0\n",
      "Precision  0.6102379940637271 Recall 0.8894927536231884\n",
      "6\n",
      "[0]\tvalidation_0-error:0.30633\tvalidation_1-error:0.304995\n",
      "Multiple eval metrics have been passed: 'validation_1-error' will be used for early stopping.\n",
      "\n",
      "Will train until validation_1-error hasn't improved in 500 rounds.\n",
      "[50]\tvalidation_0-error:0.278224\tvalidation_1-error:0.298618\n",
      "[100]\tvalidation_0-error:0.271847\tvalidation_1-error:0.299681\n",
      "[150]\tvalidation_0-error:0.269721\tvalidation_1-error:0.323061\n",
      "[200]\tvalidation_0-error:0.264171\tvalidation_1-error:0.314559\n",
      "[250]\tvalidation_0-error:0.252716\tvalidation_1-error:0.314559\n",
      "[300]\tvalidation_0-error:0.253425\tvalidation_1-error:0.312434\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[350]\tvalidation_0-error:0.250709\tvalidation_1-error:0.308183\n",
      "[400]\tvalidation_0-error:0.247756\tvalidation_1-error:0.319872\n",
      "[450]\tvalidation_0-error:0.241143\tvalidation_1-error:0.329437\n",
      "[500]\tvalidation_0-error:0.243033\tvalidation_1-error:0.330499\n",
      "Stopping. Best iteration:\n",
      "[31]\tvalidation_0-error:0.285782\tvalidation_1-error:0.284803\n",
      "\n",
      "TP 259 P 565.0 FP 71 N 376.0\n",
      "Precision  0.7082524236539902 Recall 0.4584070796460177\n",
      "TP 397 P 565.0 FP 125 N 376.0\n",
      "Precision  0.6788269053238561 Recall 0.7026548672566372\n",
      "TP 481 P 565.0 FP 184 N 376.0\n",
      "Precision  0.6349924161563957 Recall 0.8513274336283185\n",
      "TP 512 P 565.0 FP 224 N 376.0\n",
      "Precision  0.6033497141710962 Recall 0.9061946902654867\n",
      "7\n",
      "[0]\tvalidation_0-error:0.302551\tvalidation_1-error:0.27949\n",
      "Multiple eval metrics have been passed: 'validation_1-error' will be used for early stopping.\n",
      "\n",
      "Will train until validation_1-error hasn't improved in 500 rounds.\n",
      "[50]\tvalidation_0-error:0.284483\tvalidation_1-error:0.276302\n",
      "[100]\tvalidation_0-error:0.273855\tvalidation_1-error:0.277364\n",
      "[150]\tvalidation_0-error:0.266769\tvalidation_1-error:0.280553\n",
      "[200]\tvalidation_0-error:0.258266\tvalidation_1-error:0.298618\n",
      "[250]\tvalidation_0-error:0.256967\tvalidation_1-error:0.29543\n",
      "[300]\tvalidation_0-error:0.251063\tvalidation_1-error:0.30712\n",
      "[350]\tvalidation_0-error:0.245513\tvalidation_1-error:0.299681\n",
      "[400]\tvalidation_0-error:0.241734\tvalidation_1-error:0.304995\n",
      "[450]\tvalidation_0-error:0.240316\tvalidation_1-error:0.304995\n",
      "[500]\tvalidation_0-error:0.237718\tvalidation_1-error:0.310308\n",
      "[550]\tvalidation_0-error:0.235002\tvalidation_1-error:0.31881\n",
      "Stopping. Best iteration:\n",
      "[95]\tvalidation_0-error:0.276571\tvalidation_1-error:0.2678\n",
      "\n",
      "TP 284 P 574.0 FP 68 N 367.0\n",
      "Precision  0.7275443250034901 Recall 0.49477351916376305\n",
      "TP 410 P 574.0 FP 119 N 367.0\n",
      "Precision  0.6877811094452775 Recall 0.7142857142857143\n",
      "TP 495 P 574.0 FP 173 N 367.0\n",
      "Precision  0.6465705936996159 Recall 0.8623693379790941\n",
      "TP 515 P 574.0 FP 217 N 367.0\n",
      "Precision  0.602765632424744 Recall 0.8972125435540069\n",
      "8\n",
      "[0]\tvalidation_0-error:0.300071\tvalidation_1-error:0.310308\n",
      "Multiple eval metrics have been passed: 'validation_1-error' will be used for early stopping.\n",
      "\n",
      "Will train until validation_1-error hasn't improved in 500 rounds.\n",
      "[50]\tvalidation_0-error:0.278342\tvalidation_1-error:0.304995\n",
      "[100]\tvalidation_0-error:0.271257\tvalidation_1-error:0.316684\n",
      "[150]\tvalidation_0-error:0.264525\tvalidation_1-error:0.323061\n",
      "[200]\tvalidation_0-error:0.258857\tvalidation_1-error:0.331562\n",
      "[250]\tvalidation_0-error:0.256023\tvalidation_1-error:0.342189\n",
      "[300]\tvalidation_0-error:0.251535\tvalidation_1-error:0.331562\n",
      "[350]\tvalidation_0-error:0.247284\tvalidation_1-error:0.333688\n",
      "[400]\tvalidation_0-error:0.245985\tvalidation_1-error:0.33475\n",
      "[450]\tvalidation_0-error:0.241734\tvalidation_1-error:0.345377\n",
      "[500]\tvalidation_0-error:0.237364\tvalidation_1-error:0.339001\n",
      "[550]\tvalidation_0-error:0.235593\tvalidation_1-error:0.33475\n",
      "Stopping. Best iteration:\n",
      "[69]\tvalidation_0-error:0.274799\tvalidation_1-error:0.299681\n",
      "\n",
      "TP 294 P 538.0 FP 96 N 403.0\n",
      "Precision  0.6964203844119202 Recall 0.5464684014869888\n",
      "TP 395 P 538.0 FP 161 N 403.0\n",
      "Precision  0.6476121121385826 Recall 0.7342007434944238\n",
      "TP 461 P 538.0 FP 205 N 403.0\n",
      "Precision  0.627490517541282 Recall 0.8568773234200744\n",
      "TP 484 P 538.0 FP 244 N 403.0\n",
      "Precision  0.5977249604687366 Recall 0.8996282527881041\n",
      "9\n",
      "[0]\tvalidation_0-error:0.296528\tvalidation_1-error:0.332625\n",
      "Multiple eval metrics have been passed: 'validation_1-error' will be used for early stopping.\n",
      "\n",
      "Will train until validation_1-error hasn't improved in 500 rounds.\n",
      "[50]\tvalidation_0-error:0.279523\tvalidation_1-error:0.347503\n",
      "[100]\tvalidation_0-error:0.272201\tvalidation_1-error:0.343252\n",
      "[150]\tvalidation_0-error:0.264407\tvalidation_1-error:0.331562\n",
      "[200]\tvalidation_0-error:0.261455\tvalidation_1-error:0.337938\n",
      "[250]\tvalidation_0-error:0.254724\tvalidation_1-error:0.342189\n",
      "[300]\tvalidation_0-error:0.250709\tvalidation_1-error:0.339001\n",
      "[350]\tvalidation_0-error:0.249291\tvalidation_1-error:0.351753\n",
      "[400]\tvalidation_0-error:0.242206\tvalidation_1-error:0.344315\n",
      "[450]\tvalidation_0-error:0.239962\tvalidation_1-error:0.34644\n",
      "[500]\tvalidation_0-error:0.237955\tvalidation_1-error:0.333688\n",
      "[550]\tvalidation_0-error:0.233231\tvalidation_1-error:0.341126\n",
      "[600]\tvalidation_0-error:0.230869\tvalidation_1-error:0.341126\n",
      "Stopping. Best iteration:\n",
      "[113]\tvalidation_0-error:0.26854\tvalidation_1-error:0.320935\n",
      "\n",
      "TP 276 P 546.0 FP 103 N 395.0\n",
      "Precision  0.6596957484660348 Recall 0.5054945054945055\n",
      "TP 365 P 546.0 FP 157 N 395.0\n",
      "Precision  0.6271286706655589 Recall 0.6684981684981685\n",
      "TP 458 P 546.0 FP 214 N 395.0\n",
      "Precision  0.6075820979734949 Recall 0.8388278388278388\n",
      "TP 490 P 546.0 FP 254 N 395.0\n",
      "Precision  0.582571320214066 Recall 0.8974358974358975\n",
      "Precision1 0.6982611542699451 Recall1 0.5039407193111118\n",
      "Precision2 0.659359743887144 Recall2 0.7139784763592151\n",
      "Precision3 0.6322130247781939 Recall3 0.8515652210931369\n",
      "Precision4 0.5999069354067458 Recall4 0.8991920301929192\n",
      "[0.36851091 0.36776262 0.38063272 0.36888499 0.34789576 0.38115978\n",
      " 0.44741478 0.48401714 0.34363403 0.37925516 0.39284983 0.44582637\n",
      " 0.36138699 0.37639845 0.56741064 0.37057209 0.36727932 0.39141062\n",
      " 0.3833267  0.40194445 0.35903123 0.41523984 0.42023615 0.3934304\n",
      " 0.37310789 0.40668109 0.38101807 0.46440953 0.3912731  0.41387863\n",
      " 0.41805536 0.38353017 0.41953563 0.38997385 0.36028861 0.37820101\n",
      " 0.37816352 0.36780848 0.3429583  0.34718989 0.37808924 0.35918914\n",
      " 0.33368873 0.37349903 0.42585713 0.45380904 0.58667076 0.39365577\n",
      " 0.63626265 0.37835528 0.37138994 0.43933979 0.39628854 0.45301812\n",
      " 0.41822219 0.37859748 0.3472386  0.37941991 0.3688515  0.40743372\n",
      " 1.         0.37857267 0.38340907 0.38390013 0.39116529 0.3764334\n",
      " 0.35919854 0.48477277 0.37913141 0.39097313]\n"
     ]
    }
   ],
   "source": [
    "import lightgbm as lgb\n",
    "import xgboost as xgb\n",
    "import pandas as pd\n",
    "import numpy as np\n",
    "#from sklearn.linear_model import LogisticRegression\n",
    "from sklearn.ensemble import GradientBoostingClassifier\n",
    "from sklearn.ensemble import RandomForestClassifier\n",
    "\n",
    "#测试输出PR\n",
    "def get_PR(pred,y,th):\n",
    "    pred=pred[:,1]\n",
    "    #print(pred)\n",
    "    pred[pred>th]=1\n",
    "    pred[pred<th]=0\n",
    "    #print(pred)\n",
    "    TP=0\n",
    "    FP=0\n",
    "    TN=0\n",
    "    FN=0\n",
    "    for i,[j] in enumerate(y):\n",
    "        #print(i,j,pred[i])\n",
    "        #break\n",
    "        if(j==1 and pred[i]==1):\n",
    "            TP+=1\n",
    "        if(j==0 and pred[i]==0):\n",
    "            TN+=1\n",
    "        if(j==1 and pred[i]==0):\n",
    "            FN+=1\n",
    "        if(j==0 and pred[i]==1):\n",
    "            FP+=1\n",
    "    P=float(TP+FN)\n",
    "    N=float(TN+FP)\n",
    "    print('TP',TP,'P',P,'FP',FP,'N',N)\n",
    "    Precision = (TP/P)/(TP/P+FP/N)\n",
    "    Recall=TP/P\n",
    "    print('Precision ',Precision,'Recall',Recall)\n",
    "    return Precision ,Recall\n",
    "\n",
    "Precision1 ,Recall1=[],[]\n",
    "Precision2 ,Recall2=[],[]\n",
    "Precision3 ,Recall3=[],[]\n",
    "Precision4 ,Recall4=[],[]\n",
    "feature_importance_array=np.array([[0]*70])\n",
    "model_list=[]\n",
    "for i in range(10):\n",
    "    print(i)\n",
    "    x_train=pd.read_csv('/data/jupyter_root/LSK/train+test/feature_label_list_train'+str(i)+'.csv').drop(['user_name','label'],axis=1)\n",
    "    y_train=pd.read_csv('/data/jupyter_root/LSK/train+test/feature_label_list_train'+str(i)+'.csv')[['label']]\n",
    "\n",
    "    x_test=pd.read_csv('/data/jupyter_root/LSK/train+test/feature_label_list_test'+str(i)+'.csv').drop(['user_name','label'],axis=1)\n",
    "    y_test=pd.read_csv('/data/jupyter_root/LSK/train+test/feature_label_list_test'+str(i)+'.csv')[['label']]\n",
    "    \n",
    "    \n",
    "    #x_train.fillna(-1, inplace=True)\n",
    "    #x_test.fillna(-1, inplace=True)\n",
    "    #gbdt_model = GradientBoostingClassifier(n_estimators=500, subsample=0.8, max_features=0.7)\n",
    "    #gbdt_model.fit(x_train, y_train)\n",
    "    #pred=gbdt_model.predict_proba(x_test)\n",
    "    #try:\n",
    "     #   get_PR(pred.copy(),np.array(y_test),0.7)\n",
    "    #except:\n",
    "    #    print(\"false\")\n",
    "    #get_PR(pred.copy(),np.array(y_test),0.6)\n",
    "    #get_PR(pred.copy(),np.array(y_test),0.5)\n",
    "    #get_PR(pred.copy(),np.array(y_test),0.4)    \n",
    "      \n",
    "    \n",
    "    #rf_model = RandomForestClassifier(n_estimators=3000, max_depth=8, max_features='sqrt', oob_score=True)\n",
    "    #rf_model.fit(x_train, y_train)\n",
    "    \n",
    "    #pred=rf_model.predict_proba(x_test)#不能处理空值\n",
    "\n",
    "      \n",
    "    \n",
    "      \n",
    "    xgb_model = xgb.XGBClassifier(n_estimators=5000,min_child_weight=4,scale_pos_weight=1,subsample=0.5,colsample_bytree=0.8,\n",
    "                                  learning_rate=0.5, objective = 'binary:logistic', eval_metric='error',alpha = 4e-5,n_jobs=8)\n",
    "    \n",
    "    xgb_model.fit(x_train, y_train, verbose = 50, \n",
    "                      eval_set=[(x_train, y_train),(x_test, y_test)], early_stopping_rounds = 500,\n",
    "                     eval_metric = 'error')\n",
    "    model_list.append(xgb_model)\n",
    "    feature_importance = xgb_model.feature_importances_\n",
    "    feature_importance = 100.0 * (feature_importance / feature_importance.max())\n",
    "    feature_importance_array=np.concatenate((feature_importance_array,[feature_importance]),axis=0)\n",
    "    \n",
    "    \n",
    "    pred=xgb_model.predict_proba(x_test)\n",
    "    \n",
    "    try:\n",
    "        P,R=get_PR(pred.copy(),np.array(y_test),0.7)\n",
    "        Precision1.append(P)\n",
    "        Recall1.append(R)\n",
    "    except:\n",
    "        print(\"false\")\n",
    "    try:\n",
    "        P,R=get_PR(pred.copy(),np.array(y_test),0.6)\n",
    "        Precision2.append(P)\n",
    "        Recall2.append(R)\n",
    "    except:\n",
    "        print(\"false\")\n",
    "    try:\n",
    "        P,R=get_PR(pred.copy(),np.array(y_test),0.5)\n",
    "        Precision3.append(P)\n",
    "        Recall3.append(R)\n",
    "    except:\n",
    "        print(\"false\")\n",
    "    try:\n",
    "        P,R=get_PR(pred.copy(),np.array(y_test),0.4)\n",
    "        Precision4.append(P)\n",
    "        Recall4.append(R)\n",
    "    except:\n",
    "        print(\"false\")\n",
    "print('Precision1',np.array(Precision1).mean() ,'Recall1',np.array(Recall1).mean())\n",
    "print('Precision2',np.array(Precision2).mean()  ,'Recall2',np.array(Recall2).mean())\n",
    "print('Precision3',np.array(Precision3).mean()  ,'Recall3',np.array(Recall3).mean())\n",
    "print('Precision4',np.array(Precision4).mean() ,'Recall4',np.array(Recall4).mean())\n",
    "\n",
    "temp=feature_importance_array.mean(axis=0)\n",
    "print(temp/max(temp))\n",
    "# lgb_model = lgb.LGBMClassifier(boosting_type='gbdt', num_leaves=100, reg_alpha=3, reg_lambda=5, max_depth=-1,\n",
    "#     n_estimators=5000, objective='binary', subsample=0.9, colsample_bytree=0.77, subsample_freq=1, learning_rate=0.05,\n",
    "#     random_state=1000, n_jobs=16, min_child_weight=4, min_child_samples=5, min_split_gain=0)\n",
    "# lgb_model.fit(x_train, y_train, verbose=50,\n",
    "#                   eval_set=[(x_train, y_train),\n",
    "#                             (x_test, y_test)], early_stopping_rounds=30)\n",
    "# pred=lgb_model.predict_proba(x_test, num_iteration=lgb_model.best_iteration_)\n",
    "# \n",
    "# try:\n",
    "#     get_PR(pred.copy(),np.array(y_test),0.7)\n",
    "# except:\n",
    "#     print(\"false\")\n",
    "# get_PR(pred.copy(),np.array(y_test),0.6)\n",
    "# get_PR(pred.copy(),np.array(y_test),0.5)\n",
    "# get_PR(pred.copy(),np.array(y_test),0.4)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 107,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([42, 38,  8, 39, 56,  4, 20, 41, 66, 34, 12, 16,  1, 37,  0, 58,  3,\n",
       "       15, 50, 24, 43, 13, 65, 40, 36, 35, 49, 61, 55, 68,  9, 57,  2, 26,\n",
       "        5, 18, 62, 31, 63, 33, 69, 64, 28, 17, 10, 23, 47, 52, 19, 25, 59,\n",
       "       29, 21, 30, 54, 32, 22, 44, 51, 11,  6, 53, 45, 27,  7, 67, 14, 46,\n",
       "       48, 60])"
      ]
     },
     "execution_count": 107,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "np.argsort(temp)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 115,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[0.33368873 0.3429583  0.34363403 0.34718989 0.3472386  0.34789576\n",
      " 0.35903123 0.35918914 0.35919854 0.36028861 0.36138699 0.36727932\n",
      " 0.36776262 0.36780848 0.36851091 0.3688515  0.36888499 0.37057209\n",
      " 0.37138994 0.37310789 0.37349903 0.37639845 0.3764334  0.37808924\n",
      " 0.37816352 0.37820101 0.37835528 0.37857267 0.37859748 0.37913141\n",
      " 0.37925516 0.37941991 0.38063272 0.38101807 0.38115978 0.3833267\n",
      " 0.38340907 0.38353017 0.38390013 0.38997385 0.39097313 0.39116529\n",
      " 0.3912731  0.39141062 0.39284983 0.3934304  0.39365577 0.39628854\n",
      " 0.40194445 0.40668109 0.40743372 0.41387863 0.41523984 0.41805536\n",
      " 0.41822219 0.41953563 0.42023615 0.42585713 0.43933979 0.44582637\n",
      " 0.44741478 0.45301812 0.45380904 0.46440953 0.48401714 0.48477277\n",
      " 0.56741064 0.58667076 0.63626265 1.        ]\n"
     ]
    }
   ],
   "source": [
    "print(np.sort(temp/max(temp)))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 118,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'no_name_feature5block_1_label'"
      ]
     },
     "execution_count": 118,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "np.array(user_and_label.columns)[14+2]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [],
   "source": [
    "def get_all_have_name_label(f_count,choice):#f_count：the index of feature;j: index of test; choice: index of block\n",
    "    \n",
    "    #准备用于读取数据的 pandas头（防止第一行数据成为标签）\n",
    "    data_path=\"/data/jupyter_root/dcube_data/raw_have_name/feature\"#feature文件位置\n",
    "    try:\n",
    "        cols = pd.read_csv(data_path+str(f_count)+\"/block_1.tuples\",nrows=1).columns#先读第一行，用于提取数据维度\n",
    "    except:\n",
    "        print(\"false1\")\n",
    "        return 0,0,0        \n",
    "\n",
    "    user_index=['user_name']#初始化一个等待补全的names\n",
    "    #print(cols.shape[0]-1)\n",
    "    for i in range(1,cols.shape[0]-1):\n",
    "            user_index.append(str(i))\n",
    "    user_index.append('count')#补上最后的count\n",
    "    \n",
    "    #开始读取数据\n",
    "    #result=pd.read_csv(data_path+str(f_count)+\"/test\"+str(j)+\"/block_1.tuples\",sep=',',names=user_index)#读取全部的数据，并给上names\n",
    "    #try:\n",
    "    if(choice=='all'):#读取blocks.txt\n",
    "        result=pd.read_csv(data_path+str(f_count)+\"/blocks.txt\",sep=',',names=user_index)\n",
    "    elif(choice==12 or choice==13 or choice==23 or choice ==123 ):#读取blockchoice.txt\n",
    "        result=pd.read_csv(data_path+str(f_count)+\"/block\"+str(choice)+\".txt\",sep=',',names=user_index)\n",
    "    else:\n",
    "        result=pd.read_csv(data_path+str(f_count)+\"/block_\"+str(choice)+\".tuples\",sep=',',names=user_index)\n",
    "    #except:\n",
    "    #    print(\"false2\")\n",
    "    #    return 0\n",
    "    find_names = result['user_name'].drop_duplicates()#预测出坏用户的用户列表\n",
    "    #print(names)\n",
    "    \n",
    "    dataset = pd.read_csv(open('/data/jupyter_root/PJT/all_ed_12.csv','r',encoding = 'gb18030'))#读取总标签数据\n",
    "    feature_label = dataset[['user_name']].drop_duplicates(inplace=False)\n",
    "    feature_label['label']=np.nan\n",
    "\n",
    "    \n",
    "    feature_data=pd.read_csv(data_path+str(f_count)+\".txt\",sep=',',names=user_index)#读取全部的原始数据，并给上names\n",
    "    feature_names = feature_data['user_name'].drop_duplicates()#原始数据中用户的用户列表\n",
    "    \n",
    "    feature_label.loc[feature_label['user_name'].isin(feature_names),'label']=0\n",
    "    feature_label.loc[feature_label['user_name'].isin(find_names),'label']=1\n",
    "    feature_label.rename(columns={'label':'have_name_feature'+str(f_count)+\"block_\"+str(choice)+'_label'},inplace=True)\n",
    "\n",
    "    return feature_label"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [],
   "source": [
    "import re\n",
    "\n",
    "def get_set(s):\n",
    "    s=re.sub('[ {}]','',s).split(',')\n",
    "    def func(x):\n",
    "        return int(float(x))\n",
    "    return set(map(func,s))\n",
    "\n",
    "def get_all_no_name_label(result_list,f_count,choice):\n",
    "    \n",
    "    dataset = pd.read_csv(open('/data/jupyter_root/PJT/all_ed_12.csv','r',encoding = 'gb18030'))#读取总标签数据\n",
    "    feature_label = dataset[['user_name']].drop_duplicates(inplace=False)\n",
    "    feature_label['label']=np.nan\n",
    "    #print(data)\n",
    "\n",
    "    feature_names = get_set(result_list.iloc[f_count,0])\n",
    "    find_names = get_set(result_list.iloc[f_count,choice])\n",
    "    \n",
    "    feature_label.loc[feature_label['user_name'].isin(feature_names),'label']=0\n",
    "    feature_label.loc[feature_label['user_name'].isin(find_names),'label']=1\n",
    "    feature_label.rename(columns={'label':'no_name_feature'+str(f_count)+\"block_\"+str(choice)+'_label'},inplace=True)\n",
    "    \n",
    "    \n",
    "    return feature_label"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {},
   "outputs": [],
   "source": [
    "#raw_have_name\n",
    "have_name=[[1,1],[1,2],[1,3],[1,5],[2,1],[2,3],[2,4],[2,5],\n",
    "                      [4,1],[4,2],[4,4],[5,1],[5,2],[5,3],[5,4],\n",
    "                      [6,2],[6,3],[6,5],[7,2],[7,4],\n",
    "                      [8,2],[8,3],[8,5],[9,5]]\n",
    "\n",
    "have_name_single=list(range(10,20))\n",
    "\n",
    "#raw_no_name\n",
    "no_name=[[0,2],[1,2],[1,3],[1,4],[1,5],[2,1],\n",
    "         [3,1],[3,2],[3,3],[3,4],[3,5],[4,1],[4,2],[4,5],\n",
    "                   [5,1],[5,2],[5,3],[5,4],[6,1],[6,2],[6,3],\n",
    "                   [7,1],[7,2],[7,3],[7,5],[8,1],[8,2],[8,3],[8,4],[8,5],\n",
    "                   [9,2],[9,3],[9,4],\n",
    "                   [10,1],[10,2],[10,4]]\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/opt/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py:3058: DtypeWarning: Columns (1) have mixed types. Specify dtype option on import or set low_memory=False.\n",
      "  interactivity=interactivity, compiler=compiler, result=result)\n",
      "/opt/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py:3249: DtypeWarning: Columns (1) have mixed types. Specify dtype option on import or set low_memory=False.\n",
      "  if (await self.run_code(code, result,  async_=asy)):\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "done1\n",
      "done2\n",
      "done3\n",
      "done4\n",
      "done5\n",
      "done6\n",
      "done7\n",
      "done8\n",
      "done9\n",
      "done10\n",
      "done11\n",
      "done12\n",
      "done13\n",
      "done14\n",
      "done15\n",
      "done16\n",
      "done17\n",
      "done18\n",
      "done19\n",
      "done20\n",
      "done21\n",
      "done22\n",
      "done23\n",
      "done24\n",
      "done25\n",
      "done26\n",
      "done27\n",
      "done28\n",
      "done29\n",
      "done30\n",
      "done31\n",
      "done32\n",
      "done33\n",
      "done34\n",
      "done35\n",
      "done36\n",
      "done37\n",
      "done38\n",
      "done39\n",
      "done40\n",
      "done41\n",
      "done42\n",
      "done43\n",
      "done44\n",
      "done45\n",
      "done46\n",
      "done47\n",
      "done48\n",
      "done49\n",
      "done50\n",
      "done51\n",
      "done52\n",
      "done53\n",
      "done54\n",
      "done55\n",
      "done56\n",
      "done57\n",
      "done58\n",
      "done59\n",
      "done60\n",
      "done61\n",
      "done62\n",
      "done63\n",
      "done64\n",
      "done65\n",
      "done66\n",
      "done67\n",
      "done68\n",
      "done69\n",
      "done70\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>user_name</th>\n",
       "      <th>no_name_feature0block_2_label</th>\n",
       "      <th>no_name_feature1block_2_label</th>\n",
       "      <th>no_name_feature1block_3_label</th>\n",
       "      <th>no_name_feature1block_4_label</th>\n",
       "      <th>no_name_feature1block_5_label</th>\n",
       "      <th>no_name_feature2block_1_label</th>\n",
       "      <th>no_name_feature3block_1_label</th>\n",
       "      <th>no_name_feature3block_2_label</th>\n",
       "      <th>no_name_feature3block_3_label</th>\n",
       "      <th>...</th>\n",
       "      <th>have_name_feature10count</th>\n",
       "      <th>have_name_feature11count</th>\n",
       "      <th>have_name_feature12count</th>\n",
       "      <th>have_name_feature13count</th>\n",
       "      <th>have_name_feature14count</th>\n",
       "      <th>have_name_feature15count</th>\n",
       "      <th>have_name_feature16count</th>\n",
       "      <th>have_name_feature17count</th>\n",
       "      <th>have_name_feature18count</th>\n",
       "      <th>have_name_feature19count</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1556152.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>366589.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1348648.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>46</td>\n",
       "      <td>16</td>\n",
       "      <td>18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>7528.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1565767.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>493329.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>1106770.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>478360.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>1406615.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>1589558.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>188115.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>20</td>\n",
       "      <td>6</td>\n",
       "      <td>8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>1238148.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "      <td>1</td>\n",
       "      <td>9</td>\n",
       "      <td>6</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>1675992.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>1552855.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>1015596.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>32</td>\n",
       "      <td>9</td>\n",
       "      <td>16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>1302076.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>663407.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>785328.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>7</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>18</td>\n",
       "      <td>7</td>\n",
       "      <td>8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1298266.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1604821.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>407141.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>12</td>\n",
       "      <td>8</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>165305.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>714230.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>2</td>\n",
       "      <td>14</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>599200.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>411129.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>17</td>\n",
       "      <td>8</td>\n",
       "      <td>6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>562142.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>1</td>\n",
       "      <td>25</td>\n",
       "      <td>5</td>\n",
       "      <td>12</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>573040.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>1268525.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>536741.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>1</td>\n",
       "      <td>13</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>1102026.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135338</th>\n",
       "      <td>1663434.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135339</th>\n",
       "      <td>1664176.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135340</th>\n",
       "      <td>1664409.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135341</th>\n",
       "      <td>1664828.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135342</th>\n",
       "      <td>1665297.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135343</th>\n",
       "      <td>1668100.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135344</th>\n",
       "      <td>1668289.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135345</th>\n",
       "      <td>1668347.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135346</th>\n",
       "      <td>1668557.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135347</th>\n",
       "      <td>1668784.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135348</th>\n",
       "      <td>1669430.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135349</th>\n",
       "      <td>1669513.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135350</th>\n",
       "      <td>1669947.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135351</th>\n",
       "      <td>1670085.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135352</th>\n",
       "      <td>1671308.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135353</th>\n",
       "      <td>1671963.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135354</th>\n",
       "      <td>1672542.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135355</th>\n",
       "      <td>1673270.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135356</th>\n",
       "      <td>1673621.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>9</td>\n",
       "      <td>14</td>\n",
       "      <td>18</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135357</th>\n",
       "      <td>1673757.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135358</th>\n",
       "      <td>1675542.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135359</th>\n",
       "      <td>1676722.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135360</th>\n",
       "      <td>1678237.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135361</th>\n",
       "      <td>1678238.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135362</th>\n",
       "      <td>1678705.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135363</th>\n",
       "      <td>1678928.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135364</th>\n",
       "      <td>1680529.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135365</th>\n",
       "      <td>1681604.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135366</th>\n",
       "      <td>1176558.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1135367</th>\n",
       "      <td>1619159.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1135368 rows × 71 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "         user_name  no_name_feature0block_2_label  \\\n",
       "0        1556152.0                            0.0   \n",
       "1         366589.0                            0.0   \n",
       "2        1348648.0                            1.0   \n",
       "3           7528.0                            0.0   \n",
       "4        1565767.0                            0.0   \n",
       "...            ...                            ...   \n",
       "1135363  1678928.0                            0.0   \n",
       "1135364  1680529.0                            0.0   \n",
       "1135365  1681604.0                            0.0   \n",
       "1135366  1176558.0                            0.0   \n",
       "1135367  1619159.0                            0.0   \n",
       "\n",
       "         no_name_feature1block_2_label  no_name_feature1block_3_label  \\\n",
       "0                                  0.0                            0.0   \n",
       "1                                  0.0                            0.0   \n",
       "2                                  1.0                            1.0   \n",
       "3                                  0.0                            0.0   \n",
       "4                                  0.0                            0.0   \n",
       "...                                ...                            ...   \n",
       "1135363                            0.0                            0.0   \n",
       "1135364                            0.0                            0.0   \n",
       "1135365                            0.0                            0.0   \n",
       "1135366                            0.0                            0.0   \n",
       "1135367                            0.0                            0.0   \n",
       "\n",
       "         no_name_feature1block_4_label  no_name_feature1block_5_label  \\\n",
       "0                                  0.0                            0.0   \n",
       "1                                  0.0                            0.0   \n",
       "2                                  0.0                            0.0   \n",
       "3                                  0.0                            0.0   \n",
       "4                                  0.0                            0.0   \n",
       "...                                ...                            ...   \n",
       "1135363                            0.0                            0.0   \n",
       "1135364                            0.0                            0.0   \n",
       "1135365                            0.0                            0.0   \n",
       "1135366                            0.0                            0.0   \n",
       "1135367                            0.0                            0.0   \n",
       "\n",
       "         no_name_feature2block_1_label  no_name_feature3block_1_label  \\\n",
       "0                                  0.0                            0.0   \n",
       "1                                  0.0                            0.0   \n",
       "2                                  0.0                            0.0   \n",
       "3                                  0.0                            0.0   \n",
       "4                                  0.0                            0.0   \n",
       "...                                ...                            ...   \n",
       "1135363                            0.0                            0.0   \n",
       "1135364                            0.0                            0.0   \n",
       "1135365                            0.0                            0.0   \n",
       "1135366                            0.0                            NaN   \n",
       "1135367                            0.0                            NaN   \n",
       "\n",
       "         no_name_feature3block_2_label  no_name_feature3block_3_label  ...  \\\n",
       "0                                  0.0                            0.0  ...   \n",
       "1                                  0.0                            0.0  ...   \n",
       "2                                  0.0                            0.0  ...   \n",
       "3                                  0.0                            0.0  ...   \n",
       "4                                  0.0                            0.0  ...   \n",
       "...                                ...                            ...  ...   \n",
       "1135363                            0.0                            0.0  ...   \n",
       "1135364                            0.0                            0.0  ...   \n",
       "1135365                            0.0                            0.0  ...   \n",
       "1135366                            NaN                            NaN  ...   \n",
       "1135367                            NaN                            NaN  ...   \n",
       "\n",
       "         have_name_feature10count  have_name_feature11count  \\\n",
       "0                               1                         1   \n",
       "1                               1                         1   \n",
       "2                               5                         3   \n",
       "3                               1                         1   \n",
       "4                               1                         1   \n",
       "...                           ...                       ...   \n",
       "1135363                         1                         1   \n",
       "1135364                         2                         2   \n",
       "1135365                         1                         1   \n",
       "1135366                         1                         1   \n",
       "1135367                         1                         1   \n",
       "\n",
       "         have_name_feature12count  have_name_feature13count  \\\n",
       "0                               1                         2   \n",
       "1                               4                         4   \n",
       "2                               2                         2   \n",
       "3                               1                         1   \n",
       "4                               1                         1   \n",
       "...                           ...                       ...   \n",
       "1135363                         2                         2   \n",
       "1135364                         1                         1   \n",
       "1135365                         1                         1   \n",
       "1135366                         0                         0   \n",
       "1135367                         0                         0   \n",
       "\n",
       "         have_name_feature14count  have_name_feature15count  \\\n",
       "0                               2                         2   \n",
       "1                               4                         4   \n",
       "2                               2                         2   \n",
       "3                               1                         2   \n",
       "4                               1                         1   \n",
       "...                           ...                       ...   \n",
       "1135363                         2                         3   \n",
       "1135364                         1                         1   \n",
       "1135365                         1                         1   \n",
       "1135366                         0                         0   \n",
       "1135367                         0                         0   \n",
       "\n",
       "         have_name_feature16count  have_name_feature17count  \\\n",
       "0                               1                        10   \n",
       "1                               1                         3   \n",
       "2                               1                        46   \n",
       "3                               1                         2   \n",
       "4                               1                         1   \n",
       "...                           ...                       ...   \n",
       "1135363                         2                         0   \n",
       "1135364                         1                         0   \n",
       "1135365                         0                         1   \n",
       "1135366                         0                         1   \n",
       "1135367                         0                         1   \n",
       "\n",
       "         have_name_feature18count  have_name_feature19count  \n",
       "0                               6                         6  \n",
       "1                               2                         1  \n",
       "2                              16                        18  \n",
       "3                               2                         2  \n",
       "4                               1                         1  \n",
       "...                           ...                       ...  \n",
       "1135363                         0                         0  \n",
       "1135364                         0                         0  \n",
       "1135365                         1                         1  \n",
       "1135366                         1                         1  \n",
       "1135367                         1                         1  \n",
       "\n",
       "[1135368 rows x 71 columns]"
      ]
     },
     "execution_count": 39,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pandas as pd\n",
    "import csv\n",
    "import numpy\n",
    "\n",
    "dataset = pd.read_csv(open('/data/jupyter_root/PJT/all_ed_12.csv','r',encoding = 'gb18030'))#读取总标签数据\n",
    "all_feature = dataset[['user_name']].drop_duplicates(inplace=False)\n",
    "\n",
    "#合成no_name特征\n",
    "result_list=pd.read_csv(\"/data/jupyter_root/dcube_data/raw_no_name/result_list.csv\")\n",
    "j=0\n",
    "for x in no_name:\n",
    "    feature_label=get_all_no_name_label(result_list,x[0],x[1])\n",
    "    all_feature=all_feature.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    j+=1\n",
    "    print('done'+str(j))\n",
    "    \n",
    "#合成have_name特征\n",
    "for x in have_name:\n",
    "    feature_label=get_all_have_name_label(x[0],x[1])\n",
    "    all_feature=all_feature.merge(feature_label,left_on='user_name',right_on='user_name',how='left')\n",
    "    j+=1\n",
    "    print('done'+str(j))\n",
    "\n",
    "#读取含user_name的一维度的add的特征\n",
    "for i in have_name_single:\n",
    "    cols = pd.read_csv('/data/jupyter_root/dcube_data/raw_have_name/feature'+str(i)+'.txt',nrows=1).columns\n",
    "    user_index=['user_name']#初始化一个等待补全的names\n",
    "    user_index.append('have_name_feature'+str(i)+'count')#补上最后的count\n",
    "    oneadd=pd.read_csv('/data/jupyter_root/dcube_data/raw_have_name/feature'+str(i)+'.txt',sep=',',names=user_index)\n",
    "    all_feature=all_feature.merge(oneadd,left_on='user_name',right_on='user_name',how='left')\n",
    "    j+=1\n",
    "    print('done'+str(j))\n",
    "\n",
    "all_feature.to_csv('/data/jupyter_root/LSK/raw_all_feature.csv',index=None,header=True)\n",
    "all_feature"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "#删除空行\n",
    "#all_feature=all_feature.drop(range(9409,9502))\n",
    "all_feature.to_csv('/data/jupyter_root/LSK/raw_all_feature.csv',index=None,header=True)\n",
    "all_feature"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 61,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([0.8157218 , 0.66930246, 0.03658939, ..., 0.7435133 , 0.7191825 ,\n",
       "       0.7191825 ], dtype=float32)"
      ]
     },
     "execution_count": 61,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x_pred=pd.read_csv('/data/jupyter_root/LSK/raw_all_feature.csv').drop(['user_name'],axis=1)\n",
    "y_pred=None\n",
    "for model in model_list:\n",
    "    if(id(y_pred)==id(None)):\n",
    "        y_pred=model.predict_proba(x_pred)[:,1]\n",
    "    else:\n",
    "        y_pred+=model.predict_proba(x_pred)[:,1]\n",
    "y_pred=y_pred/10.0\n",
    "y_pred"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 68,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/opt/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py:3058: DtypeWarning: Columns (2,5,6,7,12) have mixed types. Specify dtype option on import or set low_memory=False.\n",
      "  interactivity=interactivity, compiler=compiler, result=result)\n"
     ]
    }
   ],
   "source": [
    "raw_result= all_feature[['user_name']].drop_duplicates(inplace=False)\n",
    "raw_result['score']=y_pred\n",
    "all_user = pd.read_csv('/data/jupyter_root/PJT/raw_dataset.csv')[['user_name']].drop_duplicates(inplace=False)\n",
    "raw_result=raw_result.merge(all_user,left_on='user_name',right_on='user_name',how='right')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 132,
   "metadata": {},
   "outputs": [],
   "source": [
    "raw_result.fillna(0)\n",
    "raw_result['label(th=0.5)']=0\n",
    "raw_result.loc[raw_result['score']>0.5,'label(th=0.5)']=1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 133,
   "metadata": {},
   "outputs": [],
   "source": [
    "raw_result['label(th=0.7)']=0\n",
    "raw_result.loc[raw_result['score']>0.7,'label(th=0.7)']=1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 134,
   "metadata": {},
   "outputs": [],
   "source": [
    "raw_result['label(th=0.75)']=0\n",
    "raw_result.loc[raw_result['score']>0.75,'label(th=0.75)']=1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 130,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "293370\n",
      "106814\n",
      "78260\n"
     ]
    }
   ],
   "source": [
    "raw_result.drop_duplicates(inplace=True)\n",
    "raw_result.to_csv('/data/jupyter_root/LSK/raw_result.csv',index=None,header=True)\n",
    "print(raw_result['label(th=0.5)'].sum())\n",
    "print(raw_result['label(th=0.7)'].sum())\n",
    "print(raw_result['label(th=0.75)'].sum())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "#raw_result=pd.read_csv('/data/jupyter_root/LSK/raw_result_ed.csv')\n",
    "raw_result.drop_duplicates(inplace=True)\n",
    "print(raw_result['label(th=0.5)'].sum())\n",
    "print(raw_result['label(th=0.7)'].sum())\n",
    "print(raw_result['label(th=0.75)'].sum())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 126,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "343730\n",
      "114878\n",
      "83141\n"
     ]
    }
   ],
   "source": [
    "raw_result=pd.read_csv('/data/jupyter_root/GSD/raw_result.csv')\n",
    "raw_result.drop_duplicates(inplace=True)\n",
    "print(raw_result['label(th=0.5)'].sum())\n",
    "print(raw_result['label(th=0.7)'].sum())\n",
    "print(raw_result['label(th=0.75)'].sum())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 129,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "TP 1535 P 5538.0 FP 400 N 3871.0\n",
      "Precision  0.7284357287471106 Recall 0.2771758757674251\n",
      "TP 1935 P 5538.0 FP 538 N 3871.0\n",
      "Precision  0.7154257247181401 Recall 0.3494041170097508\n",
      "TP 3536 P 5538.0 FP 1264 N 3871.0\n",
      "Precision  0.6616362192216044 Recall 0.6384976525821596\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "(0.6616362192216044, 0.6384976525821596)"
      ]
     },
     "execution_count": 129,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "temp=user_and_label[['user_name','label']].merge(raw_result,left_on='user_name',right_on='user_name',how='left')\n",
    "def get_PR_temp(pred,y):\n",
    "    #print(pred)\n",
    "    TP=0\n",
    "    FP=0\n",
    "    TN=0\n",
    "    FN=0\n",
    "    for i,j in enumerate(y):\n",
    "        #print(i,j,pred[i])\n",
    "        #break\n",
    "        if(j==1 and pred[i]==1):\n",
    "            TP+=1\n",
    "        if(j==0 and pred[i]==0):\n",
    "            TN+=1\n",
    "        if(j==1 and pred[i]==0):\n",
    "            FN+=1\n",
    "        if(j==0 and pred[i]==1):\n",
    "            FP+=1\n",
    "    P=float(TP+FN)\n",
    "    N=float(TN+FP)\n",
    "    print('TP',TP,'P',P,'FP',FP,'N',N)\n",
    "    Precision = (TP/P)/(TP/P+FP/N)\n",
    "    Recall=TP/P\n",
    "    print('Precision ',Precision,'Recall',Recall)\n",
    "    return Precision ,Recall\n",
    "get_PR_temp(np.array(temp['label(th=0.75)']),np.array(temp['label']))\n",
    "get_PR_temp(np.array(temp['label(th=0.7)']),np.array(temp['label']))\n",
    "get_PR_temp(np.array(temp['label(th=0.5)']),np.array(temp['label']))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "TP 2183 P 5538.0 FP 364 N 3871.0\n",
    "Precision  0.8073964586085242 Recall 0.3941856265799928\n",
    "TP 2945 P 5538.0 FP 611 N 3871.0\n",
    "Precision  0.7711200757206548 Recall 0.5317804261466234\n",
    "TP 4874 P 5538.0 FP 1919 N 3871.0\n",
    "Precision  0.6396833787901247 Recall 0.8801011195377393\n",
    "\n",
    "#现在\n",
    "TP 2164 P 5538.0 FP 348 N 3871.0\n",
    "Precision  0.8129647436332913 Recall 0.39075478512098233\n",
    "TP 2898 P 5538.0 FP 576 N 3871.0\n",
    "Precision  0.7786037051797309 Recall 0.52329360780065\n",
    "TP 4780 P 5538.0 FP 1771 N 3871.0\n",
    "Precision  0.6535715327705545 Recall 0.8631274828457927\n",
    "\n",
    "#GSD\n",
    "TP 1516 P 5538.0 FP 411 N 3871.0\n",
    "Precision  0.720534973431326 Recall 0.27374503430841457\n",
    "TP 1928 P 5538.0 FP 562 N 3871.0\n",
    "Precision  0.7057052979468673 Recall 0.3481401227880101\n",
    "TP 3583 P 5538.0 FP 1384 N 3871.0\n",
    "Precision  0.6440765779937528 Recall 0.6469844709281329\n",
    "\n",
    "#现在\n",
    "TP 1535 P 5538.0 FP 400 N 3871.0\n",
    "Precision  0.7284357287471106 Recall 0.2771758757674251\n",
    "TP 1935 P 5538.0 FP 538 N 3871.0\n",
    "Precision  0.7154257247181401 Recall 0.3494041170097508\n",
    "TP 3536 P 5538.0 FP 1264 N 3871.0\n",
    "Precision  0.6616362192216044 Recall 0.6384976525821596"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": true
  },
  "varInspector": {
   "cols": {
    "lenName": 16,
    "lenType": 16,
    "lenVar": 40
   },
   "kernels_config": {
    "python": {
     "delete_cmd_postfix": "",
     "delete_cmd_prefix": "del ",
     "library": "var_list.py",
     "varRefreshCmd": "print(var_dic_list())"
    },
    "r": {
     "delete_cmd_postfix": ") ",
     "delete_cmd_prefix": "rm(",
     "library": "var_list.r",
     "varRefreshCmd": "cat(var_dic_list()) "
    }
   },
   "types_to_exclude": [
    "module",
    "function",
    "builtin_function_or_method",
    "instance",
    "_Feature"
   ],
   "window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
